stream_agent_run
Retrieve server-sent events for an agent run. Use for real-time streaming of run progress; prefer polling get_agent_run for long-lived watches.
Instructions
Fetch SSE events for a run (GET .../runs/{runId}/stream).
Collects the stream body until the server closes or the timeout elapses. Prefer polling get_agent_run for long-lived watches.
Args: agent_id: Agent id (for example bc-...). run_id: Run id (for example run-...). timeout_seconds: HTTP timeout for the stream request (default 60).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| agent_id | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||