Overview
Tools can be added during initialization or dynamically at runtime. Remove tools by name, object reference, or a mix of both.Adding Tools
On Initialization
Dynamically
Removing Tools
By Name (String)
By Object Reference
Mixed (Name + Object)
Tool Types
Function Tools
ToolKit
Regular Class (Auto-tools)
Agent as Tool
MCP Handler
Thinking Tool (plan_and_execute)
Task Tools
Tasks have the same tool manager that requires the agent reference:Key Points
- Agent tools: Persist across all tasks
- Task tools: Task-specific, isolated per task
- Remove by name: Works for all tool types
- Remove by object: Removes entire container (ToolKit/Class/MCP/Agent) or single function
- Mixed removal: Combine names and objects in one call

