Request human approval
nofax_request_approvalRequest human approval on a phone for a guarded action, returning a pending requestId to poll until a terminal Allow or Deny. Optionally accept refinement text from the human.
Instructions
Send Allow/Deny to the phone and return a durable pending requestId. IMPORTANT: after this tool returns pending, call nofax_wait_for_response and repeat while it remains pending. Never continue the guarded action without a terminal Allow response. Set allowRefine when the human should also be able to send refinement text.
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": {
"message": "<message>"
},
"name": "nofax_request_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional approval prompt title shown to the human; defaults to "Nofax approval". | |
| message | Yes | Guarded action or decision context shown to the human. | |
| allowRefine | No | When true, also let the human return free-text refinement instead of only Allow or Deny. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | The request is unresolved and must not be treated as approval. | |
| mustWait | Yes | Signals that the caller must keep waiting for a terminal human response. | |
| requestId | Yes | Durable Nofax request handle. | |
| instruction | Yes | Fail-closed next-step instruction for the caller. |