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

Function make_dict_tool_call

tests/chat/test_tool_processor_extended.py:253–257  ·  view source on GitHub ↗
(name="echo", args='{"msg": "hi"}', call_id="call_0")

Source from the content-addressed store, hash-verified

251
252
253def make_dict_tool_call(name="echo", args='{"msg": "hi"}', call_id="call_0"):
254 return {
255 "function": {"name": name, "arguments": args},
256 "id": call_id,
257 }
258
259
260# ---------------------------------------------------------------------------

Callers 1

test_from_dictMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected