Skip to main content
  • Method: getDevToolsSnapshot
  • Scope: observability:read
  • Transports: HTTP RPC, WebSocket RPC
  • Request: { runId, frameNo? }
  • Response: DevTools snapshot payload.
Each task node’s task descriptor carries state and attempt: state is the node’s current lifecycle from the run’s node rows (latest iteration wins), e.g. pending, in-progress, finished, failed, skipped, waiting-approval. Unscheduled frame-mounted tasks omit state. streamDevTools diffs the same enriched snapshots, so state changes arrive as node updates. The descriptor also carries prompt, the task’s initial prompt, once the task is scheduled; it is absent for queued nodes. Errors are versioned as v1 and include InvalidRequest, Unauthorized, Forbidden, RunNotFound, FrameOutOfRange, PayloadTooLarge, and Internal.