Answer a pending approval or question
answer_pending_inputAnswer a paused Plori run's question or deny its approval request; this records the input and lets the task continue in a new run.
Instructions
Answer a question that a run is paused on, or deny an approval request. value answers a question; approved=false denies an approval request. approved=true is refused with 403 and the request's approve_url: only the account owner approves, in the Plori web app. Standing approvals (always_allow, scope) are refused from this connector. A question marked secret:true is refused here; the owner answers it in the Plori web app. After the paused run's files are saved, an answer continues the task in a new run, which keeps the paused run's approval rules: its outward actions still pause for the owner. The call waits up to 25 s for that run to start, and run_id in the result is that continuation run. When the result has continuation_pending: true instead, the answer is recorded and the run starts later without another call; get_run_result on the paused run then reports it as continuation_run_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | An optional note recorded with the answer. | |
| value | No | The answer to a question. | |
| run_id | Yes | The paused run's run_id. | |
| approved | No | false denies an approval request. true is refused: only the account owner approves, in the Plori web app. | |
| tool_call_id | Yes | The tool_call_id of the approval request or question, from the run result or list_pending_inputs. | |
| max_turn_seconds | No | Optional wall-clock budget for the continuation run, in seconds. It does not change the paused run; when it runs out the agent is told to finish and reply. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | The continuation run that continues the task after this answer; poll it with get_run_result. Absent while continuation_pending is true. | |
| status | Yes | Answer status. | |
| already | No | Whether this request had already been answered. | |
| session_id | No | The continuation run's session. | |
| tool_call_id | Yes | The pending tool call that was answered. | |
| continuation_error | No | Why the continuation has not started or will not start, when the platform recorded a reason. The answer stays recorded. | |
| continuation_pending | No | True when the answer is recorded but its continuation run has not started yet: the paused run's files are still being saved, or continuation_error says what delays it. The run starts without another call; get_run_result on the paused run then reports it as continuation_run_id. |