Skip to main content

add_tool

Function
This function is defined in the registry module.
Register a tool. Simplified alias for register_tool().

Signature

Parameters

Union[BaseTool, Callable]
required
BaseTool instance or callable function
Optional[str]
Optional override name
Optional[str]
Optional trust level for the tool (“trusted” or “external”)
Optional
Optional function to dynamically modify tool schema

Uses

  • register_tool

Used By

Source

View on GitHub

praisonaiagents/tools/registry.py at line 592

Tools Concept

Create Custom Tools

Tool Development