Stream Run Events (beta)
alterlab_run_streamRead a run's progress events in order (beta feature). Events such as step.started, step.completed, budget.warning and run.succeeded in seq order. The call returns once the run is finished and drained or the server closes the stream. Pass last_event_id from a previous call to receive only newer events. Returns events, last_event_id and truncated.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"run_id": "<run_id>"
},
"name": "alterlab_run_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | Run id returned by alterlab_run_create | |
| max_events | No | Maximum events to return (default 100) | |
| last_event_id | No | Return only events after this seq |