Home / Servers / DigitalOcean API / harness_update_session

PatchSession updates session-scoped settings on an existing session.

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

PatchSession updates session-scoped settings on an existing session. Partial update of session-scoped settings (not the agent manifest / config). The body must include at least one recognized patchable property; an empty object {} is 400. Only properties listed on… [PATCH /v2/agents/sessions/{session_id}]

Name on the gateway: digitalocean_api__harness_update_session · may change things.

Parameters

NameTypeDescription
session_id requiredstringThe session UUID.
resume_on_topoffbooleanWhen present, sets whether this session opts in to automatic resumption when…

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_update_session",
  "arguments": {
    "session_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 patchsession updates session-scoped settings on an existing session. tool with session_id set to ….

More from DigitalOcean API