Validate LLM-generated tool args before execution. Wrap your tools with a schema; throws ToolArgError with an LLM-friendly retry hint. Zero deps.
schema validation ai json-schema mcp reliability openai retry zero-dependency agents zod tool-use llm anthropic tool-validation agent-stack tool-args
-
Updated
May 8, 2026 - JavaScript