Skip to main content

ToolRegistry

Defined in the tools module.
Rust AI Agent SDK Registry for managing tools

Fields

Methods

new

Create a new empty registry

register

Register a tool Parameters:

get

Get a tool by name Parameters:

has

Check if a tool exists Parameters:

list

List all tool names

definitions

Get all tool definitions

execute

Execute a tool by name Parameters:

len

Get the number of registered tools

is_empty

Check if the registry is empty

Source

View on GitHub

praisonai/src/tools/mod.rs at line 101

Rust Tools

Rust Code Execution

Rust Web Search