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.
pub fn validate_tool_input(
payload: &str,
schema: &JsonSchema,
max_input_bytes: usize,
max_depth: u32,
) -> Result<Value, InputValidationFailure>Validate raw argument JSON string against size, depth, and schema.