Skip to main content

all_arguments_valid

Function all_arguments_valid 

Source
pub fn all_arguments_valid(calls: &[ToolCallObservation]) -> bool
Expand description

Argument acceptance: every call’s arguments must parse as a JSON object and satisfy the tool’s schema - required fields present, correct types, enum values respected, and no extra properties (additionalProperties: false). Unknown tool names fail (no schema exists for them). Pure and hand-rolled: no jsonschema dependency.