Set what a rejection does under an approval policy
set_approval_policy_rejectionTwo independent settings of an approval policy (ids from get_agent_approvals): on_reject 'tell_agent' (the agent hears the decision and the reason and answers in the conversation) or 'stop' (the run simply stops); notify_requester_on_reject true (default — a rejected or expired request posts a visible 'This action was not approved' notice with the approver's reason in the requester's conversation) or false (nothing is posted; the decision stays in the inbox and audit trail). Omit a setting to keep it. Needs approval.manage.
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": {
"policy_id": "<policy_id>"
},
"name": "set_approval_policy_rejection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on_reject | No | Tell the agent: tell_agent or stop. | |
| policy_id | Yes | Approval policy id (from get_agent_approvals). | |
| notify_requester_on_reject | No | Tell the person in the chat (true = post the not-approved notice). |