Skip to main content
Wire built-in or custom tools into template manifests so agents can call them at runtime.
The user declares tools in YAML, assigns them to roles, and runs the template with those capabilities.

How It Works


How to Assign Built-in Tools

1

List Available Built-in Tools

2

Add to TEMPLATE.yaml

3

Assign to Agents

How to Assign Custom Tools from tools.py

1

Create tools.py

2

Assign to Agent

3

Run Template

How to Assign Tools from External Sources

1

Add tools_sources

2

Assign External Tools

How to Assign Tools Dynamically with Python

1

Load Template

2

Create Custom Tools

3

Run with Additional Tools

Best Practices

Listing the minimum tool set per role keeps the agent focused and avoids unintended actions.
Clear names help both the model and the reader understand what each assigned tool does at a glance.
Run praisonai tools list (or doctor) so every name in the manifest actually resolves at runtime.

Create Custom Tools

Build the tools you assign

Debug Tools

Fix tools that fail to resolve