Home / Servers / DigitalOcean API / harness_get_session_events
StreamSessionEvents opens the session's Server-Sent Events feed.
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
StreamSessionEvents opens the session's Server-Sent Events feed. Opens a text/event-stream of the session's canonical events, served by the MARS data plane (OHP). Each frame is event: plus a data: line holding a JSON event envelope; comment lines (: keepalive)… [GET /v2/agents/sessions/{session_id}/events]
Name on the gateway: digitalocean_api__harness_get_session_events · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
session_id required | string | The session UUID. |
replay_only | boolean | Write the selected history and then close the stream, rather than going live.… |
replay_from | string | Event-id pagination cursor for the replay_only lane only; return events after… |
cursor | string | Query-param equivalent of Last-Event-ID, because a browser EventSource cannot… |
device_id | string | Query-param equivalent of X-Device-UUID. Identifies one client install so its… |
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_get_session_events",
"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 streamsessionevents opens the session's server-sent events feed. tool with session_id set to ….