tail_dispatch
Read a running dispatch's output so far without waiting for it to finish. Check progress, spot quiet agents, and fetch only new lines since your last call.
Instructions
Read what a dispatch has printed so far, without waiting for it to finish.
check_dispatch returns output only after the agent exits. Use this
while a dispatch is still running — to answer "what is it doing right
now?", or to look closer when output.state is quiet.
Arguments:
dispatch_id — the id dispatch returned.
since — the next_since value from your previous call, to get
only newer lines. Omit it on the first call. A plain
ISO 8601 timestamp is accepted too.
max_lines — most lines to return (default 50). When more are new,
you get the newest and skipped counts the rest.
Returns lines (oldest first; each has ts, stream, agent, text),
skipped, next_since, the dispatch status, and output:
state streaming | quiet | no_output_yet | exit_only last_output_age_sec seconds since the newest line output_lines lines emitted so far
Read output.state before you report on a silent dispatch:
exit_only— this agent prints only when it exits (claude does). No lines is its normal state. Do not report it as stuck.quiet— the agent printed before and has printed nothing for 15 minutes. It may be stuck. Tell the user; do not cancel on your own.no_output_yet— nothing printed so far. Report the elapsed time.
Lines are raw agent output (often JSON events) — summarize them for
the user; do not paste them. Once status is no longer running,
call check_dispatch for the final result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ||
| max_lines | No | ||
| dispatch_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||