Skip to main content

validate_tool_input

Function validate_tool_input 

Source
pub fn validate_tool_input(
    payload: &str,
    schema: &JsonSchema,
    max_input_bytes: usize,
    max_depth: u32,
) -> Result<Value, InputValidationFailure>
Expand description

Validate raw argument JSON string against size, depth, and schema.