get_runbook_run
Retrieves the status, per-host errors, and step output for a runbook or snippet run, and can wait briefly for it to settle instead of polling.
Instructions
Reports a run you started with run_runbook or run_snippet: an overall status ("running", "waiting_for_approval", "succeeded", "failed" or "cancelled"), each host's status and error, and each step's status, exit code, attempts and output (the last 8 KiB, with secrets masked). Works for the run in progress and for finished ones. waitSeconds holds the call open until the run settles or the time runs out, so you need not poll in a tight loop. When the status is "waiting_for_approval" the user has to press Continue in ShellVibe: you cannot. You can only read runs you started.
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": {
"runId": "<runId>"
},
"name": "get_runbook_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | The runId run_runbook or run_snippet returned. | |
| waitSeconds | No | Wait up to this long for the run to settle before answering. Defaults to 0: answer at once. |