Skip to main content

Tool Not Being Called

Symptom

AI doesn’t call your tool

Solutions

1. Verify Tool Registration

2. Improve Tool Description

Tool Execution Fails

Symptom

Tool throws exception

Solutions

Add Error Handling

Tool Returns Wrong Data

Solutions

Debug Tool Output

Common Fixes

IssueFix
Tool not calledImprove description
Tool failsAdd error handling
Wrong outputAdd logging
TimeoutOptimize tool code

Debugging

Learn debugging techniques