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

Function test_format_tool_response_dict

tests/tools/test_tool_manager.py:115–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113
114
115def test_format_tool_response_dict():
116 payload = {"a": 1}
117 out = ToolManager.format_tool_response(payload)
118 assert json.loads(out) == payload
119
120
121def test_format_tool_response_other():

Callers

nothing calls this directly

Calls 1

format_tool_responseMethod · 0.45

Tested by

no test coverage detected