Defines the complete tool manifest for the LLM.
(self)
| 246 | self._init_tools() |
| 247 | |
| 248 | def _init_tools(self): |
| 249 | """ |
| 250 | Defines the complete tool manifest for the LLM. |
| 251 | """ |
| 252 | self.disabled_tools = self._load_disabled_tools() |
| 253 | self.tools = { |
| 254 | name: definition |
| 255 | for name, definition in TOOLS.items() |
| 256 | if name not in self.disabled_tools |
| 257 | } |
| 258 | |
| 259 | def _normalize_tool_name(self, name: Any) -> Optional[str]: |
| 260 | """Normalize tool names from mcp.json to internal tool identifiers.""" |
no test coverage detected