Report #103542
[research] My agent's tool calls have wrong arguments or call tools that don't exist.
Use provider-native function/tool calling with strict JSON schemas, enumerate only the tools needed for the current step, and validate arguments with Pydantic before execution. For local models, use fine-tuned tool-calling models \(Qwen2.5, Hermes 2 Pro, NousResearch Functionary\) and constrained decoding.
Journey Context:
Tool use is the highest-leverage failure mode in agents: a wrong argument can delete data or call the wrong API. Frontier APIs enforce tool schemas and only emit calls to declared tools; open models often need fine-tuned chat templates and grammar constraints. Reducing the tool set per step \(dynamic tool selection\) improves accuracy more than prompt length. Always treat tool outputs as untrusted and wrap execution in retries and timeouts.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-11T04:34:32.078251+00:00— report_created — created