Skip to main content
Register built-in or custom tools on recipe agents so templates can act on real data.
The user adds tools to YAML or Python templates, then runs the recipe with those capabilities enabled.

How It Works


How to Add Built-in Tools

1

List Available Tools

2

Add Tools to agents.yaml

3

Run Recipe

How to Add Custom Tools via tools.py

1

Create tools.py in Recipe Directory

2

Reference in agents.yaml

3

Run Recipe

Tool Resolution Order

Best Practices

tools.py in the recipe directory wins resolution, so bundle recipe-specific tools there to keep them portable.
The agent reads the docstring to decide when and how to call a tool. Describe the arguments and return value so calls are accurate.
Give each role the minimum tool set in agents.yaml so the agent stays focused and avoids unintended actions.

Create Custom Recipes

Build a recipe from scratch

Debug Recipes

Troubleshoot tool resolution