await_command_result
Waits for an existing command review or job result by pending_id, observing up to 90 seconds without launching another execution.
Instructions
Use to wait 0 to 90 seconds (default 50) for an existing command review or its job result, using its pending_id, not a request_id or session_id. Also observes an existing DEV send_input pending_id. PENDING cannot establish review expiry or completion; continue observing the same pending_id. It cannot discover IDs or establish complete history; use activity to find known IDs, request_status(request_id) for a non-waiting request check, or review_status(pending_id) for a non-waiting review check.
Wait for an existing Owner decision/job, without another execution.
Follow Owner review outcomes in server instructions. TIMED_OUT has launch_outcome=NOT_STARTED for commands or write_outcome=NOT_STARTED for input (no input was sent). On PENDING follow the same pending_id via review_status/await_command_result: PENDING is observer wait only. Interactive SECOND_GUI Reject retains ERROR/OwnerAuthorizationRequired with launch_outcome=NOT_STARTED; report and wait.
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": {
"pending_id": "<pending_id>"
},
"name": "await_command_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pending_id | Yes | Opaque ID returned by a prior Owner review; required to observe the SAME request, never fabricate or resubmit. TIMED_OUT (EXPIRED/CLOSED) is terminal: REPORT_AND_WAIT; never resubmit or ask for the window again. See tool help for outcome handling. | |
| wait_seconds | No | Bounded observer wait in seconds, 0 to 90; default 50. PENDING means observation is incomplete; continue the SAME pending_id with the existing status/wait tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||