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

Method cancel_running_tasks

src/mcp_cli/chat/tool_processor.py:439–441  ·  view source on GitHub ↗

Cancel running tool execution.

(self)

Source from the content-addressed store, hash-verified

437 await self._finish_tool_calls()
438
439 def cancel_running_tasks(self) -> None:
440 """Cancel running tool execution."""
441 self._cancelled = True
442
443 async def _on_tool_start(self, call: CTPToolCall) -> None:
444 """Callback when a tool starts execution."""

Callers 2

Calls

no outgoing calls

Tested by 2