Home / Servers / DigitalOcean API / harness_revert_session_checkpoint

RollbackToCheckpoint rewinds a session to a checkpoint.

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

RollbackToCheckpoint rewinds a session to a checkpoint. In-place restore: boots a fresh sandbox from the checkpoint and atomically swaps the session's sandbox pointer to it, so the session keeps its same session_id; the old sandbox is then torn down. [POST /v2/agents/sessions/{session_id}/checkpoints/{checkpoint_id}/rollback]

Name on the gateway: digitalocean_api__harness_revert_session_checkpoint · may change things.

Parameters

NameTypeDescription
session_id requiredstringThe session UUID.
checkpoint_id requiredstringThe checkpoint id.

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:

call_tool arguments
{
  "name": "digitalocean_api__harness_revert_session_checkpoint",
  "arguments": {
    "session_id": "…",
    "checkpoint_id": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
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 rollbacktocheckpoint rewinds a session to a checkpoint. tool with session_id set to ….

More from DigitalOcean API