Home / Servers / DigitalOcean API / harness_cancel_session_workspace_transfer
Cancel a staged workspace transfer.
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Cancel a staged workspace transfer. Aborts an in-flight transfer. Idempotent: cancelling an already-terminal transfer returns aborted: false with the current status. The request body is optional. [POST /v2/agents/sessions/{session_id}/workspace/transfers/{transfer_id}/cancel]
Name on the gateway: digitalocean_api__harness_cancel_session_workspace_transfer · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
session_id required | string | The session UUID. |
transfer_id required | string | The workspace transfer identifier. |
reason | string | Optional caller-visible audit/debug context. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "digitalocean_api__harness_cancel_session_workspace_transfer",
"arguments": {
"session_id": "…",
"transfer_id": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the cancel a staged workspace transfer. tool with session_id set to ….