(self, tool_name, arguments, namespace=None, timeout=None)
| 97 | return [self.ToolInfo(name=n) for n in self.TOOL_CATALOG] |
| 98 | |
| 99 | async def execute_tool(self, tool_name, arguments, namespace=None, timeout=None): |
| 100 | await asyncio.sleep(self._delay) |
| 101 | self.call_log.append((tool_name, arguments)) |
| 102 | result = self.MOCK_RESULTS.get(tool_name, f"Result from {tool_name}") |
| 103 | return FakeToolCallResult(tool_name=tool_name, result=result) |
| 104 | |
| 105 | |
| 106 | # ── Plan Generation ───────────────────────────────────────────────────────── |
no test coverage detected