handoff_status
Poll a background handoff job: returns state, elapsed time, progress logs, and final result.
Instructions
Poll a background handoff job: state, elapsed time, live progress, result.
Args:
job_id: The id returned by `handoff_start`.
tail: How many lines of streamed progress log to include.
Returns JSON with: `state` (running|done|error), `elapsed_s`, `backend`,
`log_tail` (the peer agent's streamed activity so far), and — once done —
`result` (or `error`). Call repeatedly until `state` != "running".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | ||
| job_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |