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

Function tools_with_long_descriptions

tests/tools/test_dynamic_tools.py:298–307  ·  view source on GitHub ↗

Create tools with long descriptions for truncation tests.

()

Source from the content-addressed store, hash-verified

296
297@pytest.fixture
298def tools_with_long_descriptions() -> list[ToolInfo]:
299 """Create tools with long descriptions for truncation tests."""
300 return [
301 ToolInfo(
302 name="verbose_tool",
303 namespace="test",
304 description="A" * 250, # More than 200 chars
305 parameters={"type": "object", "properties": {}},
306 ),
307 ]
308
309
310@pytest.fixture

Callers

nothing calls this directly

Calls 1

ToolInfoClass · 0.90

Tested by

no test coverage detected