Get tool configuration by name Args: tool_name: Tool name Returns: Tool: Tool instance or None if not found
(self, tool_name: str)
| 513 | |
| 514 | |
| 515 | async def get(self, tool_name: str) -> Tool: |
| 516 | """Get tool configuration by name |
| 517 | |
| 518 | Args: |
| 519 | tool_name: Tool name |
| 520 | |
| 521 | Returns: |
| 522 | Tool: Tool instance or None if not found |
| 523 | """ |
| 524 | tool_config = self._tool_configs.get(tool_name) |
| 525 | if tool_config is None: |
| 526 | return None |
| 527 | return tool_config.instance if tool_config.instance is not None else None |
| 528 | |
| 529 | async def get_info(self, tool_name: str) -> Optional[ToolConfig]: |
| 530 | """Get tool info by name |
no outgoing calls
no test coverage detected