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

Function on_result

tests/tools/test_execution.py:121–122  ·  view source on GitHub ↗
(result: CTPToolResult)

Source from the content-addressed store, hash-verified

119 completed_tools: list[str] = []
120
121 async def on_result(result: CTPToolResult):
122 completed_tools.append(result.tool)
123
124 calls = [
125 CTPToolCall(id="call_1", tool="tool_a", arguments={}),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected