pi_wait
Block until a pi task run completes or needs a response, returning final state, summary, and pending request.
Instructions
Block until the pi task's current run finishes (state idle/aborted/error), a UI dialog needs answering, or timeoutMs elapses. Returns the final state, the last assistant text in 'summary', and 'pendingRequest' when pi is waiting for pi_respond.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | ||
| timeoutMs | No | Default 600000 (10 minutes) |