Home / Servers / DigitalOcean API / harness_delete_session
DestroySession tears down the sandbox and marks the session DESTROYED.
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
DestroySession tears down the sandbox and marks the session DESTROYED. Persistent workspace contents are retained per tenant policy. A persistent workspace the session holds is saved and kept: it goes to RELEASING while the files are saved and then back to AVAILABLE.… [DELETE /v2/agents/sessions/{session_id}]
Name on the gateway: digitalocean_api__harness_delete_session · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
session_id required | string | The session UUID. |
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_delete_session",
"arguments": {
"session_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 destroysession tears down the sandbox and marks the session destroyed. tool with session_id set to ….