Documentation
FAQ: Why do agent tools fail after chat works? in the NexoRouter documentation.
FAQ: Why do agent tools fail after chat works?
A successful text response does not prove tool calling works. Agent tools may require JSON tool calls, edit operations, and multi-step planning.
Verify in stages
- Text-only prompt.
- Read-only project inspection.
- One small edit in a disposable branch.
- Usage Logs check.
- Larger workflow only after the first four pass.
Fixes
- Try a model known to handle tool calling better.
- Reduce task size.
- Avoid long agent loops while testing.
- Keep a key budget on local agents.