validateArgs
Validate arguments against the parameter JSON Schema. Uses Ajv to compile and run the schema. When the function has no parameters declared (empty schema), validation is skipped and the arguments are treated as valid — matching the Python SDK’s early-return behavior.
Parameters
args
Arguments to validate.
Returns
[boolean, string[]] — A tuple of [isValid, errors]. When no validation is
needed (empty schema), returns [true, []]. Error strings include the
offending property path where available (e.g., "'account_id' is a required property").