Expand description
Input validation for tool calls.
Translated from TypeScript checkPermissionsAndCallTool validation step.
Functions§
- find_
tool_ by_ name - Tool definition lookup by name. Matches TypeScript’s findToolByName which also checks aliases.
- validate_
tool_ input - Validate tool input against the tool’s JSON Schema. Returns Ok(()) if valid, or Err with a human-readable error message.