Built-in Tools
Creating Custom Tools
Usage
Best Practices
- Clear descriptions: Tell agent when to use the tool
- Precise input schema: Define required parameters
- Informative returns: Return useful strings, not just “done”
- Handle errors: Return error messages instead of raising exceptions