Home / Servers / DigitalOcean API / harness_create_session_workspace_transfer

Start a staged (large-file) workspace transfer.

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

Start a staged (large-file) workspace transfer. Creates an asynchronous, object-storage-backed transfer for payloads larger than the streaming path supports (> ~50 MiB). Bulk bytes never traverse harness-api: the client PUTs/GETs presigned DO… [POST /v2/agents/sessions/{session_id}/workspace/transfers]

Name on the gateway: digitalocean_api__harness_create_session_workspace_transfer · may change things.

Parameters

NameTypeDescription
session_id requiredstringThe session UUID.
direction requiredupload | downloadTransfer direction.
path requiredstringWorkspace-relative path. Destination for upload, source for download. Paths…
is_archivebooleanUpload only. When true, the payload is a tar the guest extracts at path.
as_archivebooleanDownload only. When true, path is exported as a tar stream.
size_bytesintegerOptional total payload size, as a JSON number. Validated against the maximum…
sha256stringOptional lowercase hex SHA-256 of the full payload. If set on an upload, it…

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_create_session_workspace_transfer",
  "arguments": {
    "session_id": "…",
    "direction": "…",
    "path": "…"
  }
}

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 start a staged (large-file) workspace transfer. tool with session_id set to ….

More from DigitalOcean API