validate_args
validate_args
Validate arguments against the parameter JSON Schema. Uses jsonschema_rs
(Rust-based) if available, falls back to jsonschema (pure Python), or
skips validation if neither is installed.
Parameters
args
Arguments to validate.
Returns
tuple[bool, list[str]] — A tuple of (is_valid, errors). When no validation
library is available, returns (True, []).