Tool Not Being Called
Symptom
AI doesn’t call your toolSolutions
1. Verify Tool Registration
2. Improve Tool Description
Tool Execution Fails
Symptom
Tool throws exceptionSolutions
Add Error Handling
Tool Returns Wrong Data
Solutions
Debug Tool Output
Common Fixes
| Issue | Fix |
|---|---|
| Tool not called | Improve description |
| Tool fails | Add error handling |
| Wrong output | Add logging |
| Timeout | Optimize tool code |
Debugging
Learn debugging techniques