Quick Start
1
Simple Usage
Decorate a function with
@tool and hand it to an agent.2
With Configuration
Add tools from a package or file with the CLI, then verify resolution.
How It Works
Tools Guides
Learn how to create, configure, debug, and manage tools in PraisonAI.Create Custom Tools
Build your own tools from scratch
Assign Tools to Templates
Configure tools for templates
Debug Tools
Troubleshoot tool issues
Different Ways to Create
Explore all tool creation methods
Remote Tools from GitHub
Use tools from GitHub and remote URLs
Quick Reference
Best Practices
Decorate functions with @tool
Decorate functions with @tool
@tool registers a function as agent-callable and reads its type hints and docstring to build the schema โ the fastest path to a working tool.Type-hint every parameter and return
Type-hint every parameter and return
The model relies on type hints to call tools correctly. Include them, plus a JSON-serializable return type.
Verify with tools doctor before shipping
Verify with tools doctor before shipping
praisonai tools doctor walks the full resolver chain, so it confirms a tool is reachable before an agent tries to call it.
