Regeländerung aktivieren
confirm_policyApp-only: apply the exact replacement after the Owner's trusted show_policy_approval click. Models must never invoke it. Goal/general-budget cards use confirm_business_goal instead.
The UI returns candidate+approvalToken from one card. Module/policy, replacement value, revision and expiry form one signed binding; a current revision cannot make a changed candidate or mismatched token valid. Requires current policy:read/write and Owner/module authority. Changed/expired candidates, stale revisions and revoked access fail closed.
Success returns confirmed, policyVersion and revision; consumerOutcome stays not_verified until downstream evidence exists. Read get_policy with kind=policy and the same moduleKey/policyKey for the current confirmed snapshot; get_policy_write_options supplies supported values/revisions. get_business_budgets.advertising also reads advertising pending state. On stale state renew intent; on isError/not_verified or uncertainty, read state without retrying confirmation.
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": {
"candidate": "<candidate>",
"approvalToken": "<approvalToken>"
},
"name": "confirm_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| candidate | Yes | Exact candidate from the matching card's hidden metadata, including the change and expiry. The trusted UI copies every field unchanged; never reconstruct it from chat. | |
| approvalToken | Yes | Opaque approval proof supplied in hidden metadata by the matching show tool. The trusted UI copies it unchanged; never construct it or request it from chat. |