Respond to Workflow Decision
respond_decisionAnswer a pending workflow decision, draining it and persisting the outcome to the Novel. Use when the server emits a [NEED_INPUT] prompt and a choice is required.
Instructions
Answer a pending workflow decision, atomically draining it and persisting the outcome to the Novel. Use when: the server emitted a [NEED_INPUT] prompt and the caller must choose. Do NOT use when: no decision is pending — use set_badge or a state tool instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| option | Yes | The chosen option, or 'cancel' to abort the workflow and restore its snapshot. | |
| decision | Yes | The canonical decision text the workflow is waiting on. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Human-readable text envelope mirroring the structured result (REQ-001, REQ-548a). | |
| status | Yes | Machine-readable result status: OK, NEED_INPUT, WARNING, PARTIAL, or an error category (REQ-002, REQ-548c). |