MCPcopy Create free account
hub / github.com/IBM/mcp-cli / _make_tools

Function _make_tools

tests/tools/test_tool_index.py:16–23  ·  view source on GitHub ↗

Create a set of test tools.

()

Source from the content-addressed store, hash-verified

14
15
16def _make_tools() -> list[ToolInfo]:
17 """Create a set of test tools."""
18 return [
19 ToolInfo(name="search", namespace="server1", description="Search tool"),
20 ToolInfo(name="read", namespace="server2", description="Read tool"),
21 ToolInfo(name="search", namespace="default", description="Default search"),
22 ToolInfo(name="write", namespace="server1", description="Write tool"),
23 ]
24
25
26@pytest.fixture

Callers 2

managerFunction · 0.85
cache_managerFunction · 0.85

Calls 1

ToolInfoClass · 0.90

Tested by

no test coverage detected