How to Use Tools Doctor
1
Run Tools Doctor
2
Check Specific Tool
3
Review Diagnostics
Doctor output shows:
- Tool availability
- Missing dependencies
- Configuration issues
- Import errors
4
Fix Identified Issues
Install missing packages or fix configuration based on doctor output.
How to Debug Tool Resolution
1
Resolve Tool Name
2
Check Tool Sources
3
Discover Available Tools
4
Search for Tools
How to Debug Tools with Python
1
Test Tool Directly
2
Check Tool Signature
3
Validate Docstring
4
Test with Agent
How to Debug Tool Registry
1
Create Registry
2
List All Tools
3
Check Specific Tool
Common Tool Issues
| Issue | Cause | Solution |
|---|---|---|
| Tool not found | Not in registry | Add to tools list or tools_sources |
| Import error | Missing dependency | Install required package |
| Type error | Wrong parameter types | Add proper type hints |
| No docstring | Missing documentation | Add docstring with Args section |
| Not serializable | Complex return type | Return dict/list/str instead |

