ToolProxyToolset always exposes exactly search_tools and call_tool.
(self)
| 73 | |
| 74 | class TestToolProxyToolset: |
| 75 | def test_tools_always_two(self): |
| 76 | """ToolProxyToolset always exposes exactly search_tools and call_tool.""" |
| 77 | ts = ToolProxyToolset( |
| 78 | id="proxy", |
| 79 | tools=[WeatherToolset(), FinanceToolset()], |
| 80 | ) |
| 81 | assert len(ts.tools) == 2 |
| 82 | tool_names = [t.id for t in ts.tools] |
| 83 | assert "tool_search" in tool_names |
| 84 | assert "call_tool" in tool_names |
| 85 | |
| 86 | async def test_tools_constant_after_search(self): |
| 87 | """Tool list stays constant even after search — no dynamic loading.""" |
nothing calls this directly
no test coverage detected