Get tool configuration by name Args: tool_name: Tool name Returns: ToolConfig: Tool configuration or None if not found
(self, tool_name: str)
| 110 | return tool |
| 111 | |
| 112 | async def get_info(self, tool_name: str) -> Optional[ToolConfig]: |
| 113 | """Get tool configuration by name |
| 114 | |
| 115 | Args: |
| 116 | tool_name: Tool name |
| 117 | |
| 118 | Returns: |
| 119 | ToolConfig: Tool configuration or None if not found |
| 120 | """ |
| 121 | return await self.tool_context_manager.get_info(tool_name) |
| 122 | |
| 123 | async def cleanup(self): |
| 124 | """Cleanup all tools""" |
no outgoing calls