Require confirmation for a Request
set_request_confirmation_policyTurn confirmation on. A Request with a confirmation policy stops at a pending action for a person to confirm before it runs. This tool can only turn confirmation on where the Request has none. Changing or removing a policy is done by an Administrator on the Request page. policy is none, requester, or role. requester asks the person who called the Request to confirm. role names approver_role_id, the Role whose members may confirm. expiry_seconds is how long that pending action stays open. Omit it to use 900 seconds for requester or 604800 seconds for role. It must be a whole number from 60 to 2592000. Omit confirmation_app_id to use Ekaya's page. Name a Hosted App to use that app as the confirmation screen.
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": {
"query_id": "<query_id>",
"policy": "<policy>"
},
"name": "set_request_confirmation_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | Yes | none, requester, or role. This tool can set requester or role only when the Request has no policy yet. | |
| query_id | Yes | UUID of the approved Request | |
| expiry_seconds | No | Whole seconds from 60 to 2592000. Omit it to use 900 for requester or 604800 for role. | |
| approver_role_id | No | UUID of the approver Role. Required when policy is role. Omit it for requester and none. | |
| confirmation_app_id | No | UUID of the Hosted App that confirms the Request. Omit it to use Ekaya's page. |