Defines the complete tool manifest for the LLM.
(self)
| 182 | self._init_tools() |
| 183 | |
| 184 | def _init_tools(self): |
| 185 | """ |
| 186 | Defines the complete tool manifest for the LLM. |
| 187 | """ |
| 188 | self.disabled_tools = self._load_disabled_tools() |
| 189 | self.tools = { |
| 190 | name: definition |
| 191 | for name, definition in TOOLS.items() |
| 192 | if name not in self.disabled_tools |
| 193 | } |
| 194 | |
| 195 | def _normalize_tool_name(self, name: Any) -> Optional[str]: |
| 196 | """Normalize tool names from mcp.json to internal tool identifiers.""" |
no test coverage detected