Stream run events

Stream run events.

Arguments

  • run_idstring · min length 1 · max length 128required

    Run UUID, or the public run id (run_…) that run lists and getRun carry as run_id. Normal callers need access to the run owner and project.runs.read. A bound eval runtime may instead read its authorized direct agent child.

  • event_representationstring

    Provide the event representation. One of run-events-v1, ag-ui.

  • last_event_idstring · min length 1

    Resume after this durable event ID or selected representation position.

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__stream_run_events",    "arguments": {      "run_id": "a"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"run_id\":\"00000000-0000-0000-0000-000000000000\",\"last_event_id\":0,\"delivered_count\":0,\"end_reason\":\"closed\"}"      }    ],    "structuredContent": {      "run_id": "00000000-0000-0000-0000-000000000000",      "last_event_id": 0,      "delivered_count": 0,      "end_reason": "closed"    }  }}

The tool ran; its output is result.structuredContent.