(self, tool_name, arguments, namespace=None, timeout=None)
| 164 | return tools, {} |
| 165 | |
| 166 | async def execute_tool(self, tool_name, arguments, namespace=None, timeout=None): |
| 167 | await asyncio.sleep(self._delay) |
| 168 | self.call_log.append((tool_name, arguments)) |
| 169 | result = self.MOCK_RESULTS.get(tool_name, f"Result from {tool_name}") |
| 170 | return FakeToolCallResult(tool_name=tool_name, result=result) |
| 171 | |
| 172 | |
| 173 | # ── Helpers ────────────────────────────────────────────────────────────────── |
no test coverage detected