From 21a4b1a94b397add0f89bbc794702935041db01f Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 07:03:27 +0000 Subject: [PATCH] docs(TSP-1357): add MCP cancellation tools documentation Document three new cancellation tools added in PR #16277: relevance_cancel_agent_task, relevance_cancel_workforce_task, and relevance_cancel_tool_run. Co-Authored-By: Claude Sonnet 4.6 --- integrations/mcp/mcp-server.mdx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/integrations/mcp/mcp-server.mdx b/integrations/mcp/mcp-server.mdx index d1e19f64..d317acc7 100644 --- a/integrations/mcp/mcp-server.mdx +++ b/integrations/mcp/mcp-server.mdx @@ -275,6 +275,26 @@ When triggering agents via MCP, you have two execution modes available depending +### Cancelling executions + +Three tools are available to stop in-progress tasks: + + + + Cancels a running agent task. Pass the `conversation_id` returned by `relevance_trigger_agent_async` to identify which task to stop. + + Cancellation is not instant — the current step finishes before the task is stopped. There is no hard-stop mid-step. + + + + Cancels a running workforce task. Pass the `task_id` of the workforce task to stop. + + + + Cancels a currently-running tool execution. Pass the `studio_run_id` of the tool run to stop. + + + --- ## Troubleshooting