Tools
An agent's tools list takes single tools, toolsets (collections of
tools) and built-in tools of the model provider, all selected by type.
A plain string is an import path of a function to use as a tool.
agents:
assistant:
model: openai:gpt-5-mini
tools:
- webbrowser.open # import path shorthand
- type: import
import_path: os.listdir
name: list_files
description: List the files of a directory
- type: bash
requires_confirmation: true
- type: read
- type: grep
- type: question # ask the user
Available Tools¶
type |
Name | Description |
|---|---|---|
import |
ImportToolConfig | Configuration for importing tools from Python modules. |
agent_cli |
Agent CLI Tool | Configuration for agent CLI tool. |
question |
Ask User Tool | Configuration for user interaction tool. |
bash |
Bash Tool | Configuration for bash command execution tool. |
delete_path |
Delete Path Tool | Configuration for delete path tool. |
download_file |
Download File Tool | Configuration for file download tool. |
execute_code |
Execute Code Tool | Configuration for Python code execution tool. |
grep |
Grep Tool | Configuration for grep search tool. |
list_directory |
List Directory Tool | Configuration for directory listing tool. |
read |
Read Tool | Configuration for file reading tool. |
builtin (builtin_type: web_search) |
Web Search Tool | Configuration for PydanticAI web search builtin tool. |
builtin (builtin_type: code_execution) |
Code Execution Tool | Configuration for PydanticAI code execution builtin tool. |
builtin (builtin_type: web_fetch) |
Web Fetch Tool | Configuration for PydanticAI web fetch builtin tool. |
builtin (builtin_type: image_generation) |
Image Generation Tool | Configuration for PydanticAI image generation builtin tool. |
builtin (builtin_type: memory) |
Memory Tool | Configuration for PydanticAI memory builtin tool. |
builtin (builtin_type: file_search) |
File Search Tool | Configuration for PydanticAI file search builtin tool. |
builtin (builtin_type: mcp_server) |
MCP Server Tool | Configuration for PydanticAI MCP server builtin tool. |
openapi |
OpenAPI Toolset | Configuration for OpenAPI toolsets. |
entry_points |
Entry Point Toolset | Configuration for entry point toolsets. |
composio |
Composio Toolset | Configuration for Composio toolsets. |
process_management |
Process management Toolset | Configuration for process management toolset (code + process management). |
skills |
Skills Toolset | Configuration for skills toolset. |
code |
Code Toolset | Configuration for code toolset. |
file_access |
File Access Toolset | Configuration for file access toolset (supports local and remote filesystems). |
vfs |
VFS Toolset | Configuration for VFS registry filesystem toolset. |
subagent |
Subagent Toolset | Configuration for subagent interaction tools. |
workers |
Workers Toolset | Configuration for worker agent tools. |
aggregating |
Aggregating Toolset | Configuration for aggregating multiple toolsets. |
code_mode |
Code Mode Toolset (Deprecated) | Configuration for code mode tools. |
remote_code_mode |
Remote Code Mode Toolset | Configuration for code mode tools. |
search |
Search Toolset | Configuration for web/news search toolset. |
notifications |
Notifications Toolset | Configuration for Apprise-based notifications toolset. |
config_creation |
Config Creation Toolset | Configuration for config creation with schema validation. |
import_tools |
Import Tools Toolset | Configuration for importing individual functions as tools. |
plan |
Plan Toolset | Configuration for plan management toolset. |
debug |
Debug Toolset | Configuration for debug/introspection toolset. |
mcp_discovery |
MCP Discovery Toolset | Configuration for MCP discovery toolset. |
cron |
Cron Toolset | Configuration for cron scheduling toolset. |
custom |
Custom Toolset | Configuration for custom toolsets. |
Single Tool Reference¶
ImportToolConfig¶
Configuration for importing tools from Python modules.
Agent CLI Tool¶
Configuration for agent CLI tool.
Example:
Ask User Tool¶
Configuration for user interaction tool.
Example:
Bash Tool¶
Configuration for bash command execution tool.
Example:
tools:
- type: bash
timeout: 30.0
output_limit: 10000
requires_confirmation: true
environment:
type: mock
deterministic_ids: true
Delete Path Tool¶
Configuration for delete path tool.
Example:
Download File Tool¶
Configuration for file download tool.
Example:
Execute Code Tool¶
Configuration for Python code execution tool.
Example:
tools:
- type: execute_code
requires_confirmation: true
environment:
type: mock
deterministic_ids: true
Grep Tool¶
Configuration for grep search tool.
Example:
List Directory Tool¶
Configuration for directory listing tool.
Example:
Read Tool¶
Configuration for file reading tool.
Example:
tools:
- type: read
max_file_size_kb: 128
max_image_size: 1500
large_file_tokens: 10000
conversion:
default_provider: markitdown
environment:
type: local