Skip to main content

Module validation

Module validation 

Source
Expand description

Basic JSON Schema validation for tool parameters.

Validates tool arguments against the tool’s parameter_schema() before execution. Checks required fields, type correctness, and enum constraints.

Functions§

validate_args
Validate tool arguments against a JSON Schema.
validate_args_detailed
Validate tool arguments and return all validation errors (not just the first).