Apply an approved proposal
apply_changesApply one or more user-approved proposals to an account atomically; roll back all if any change fails and return an updated proposal when the account has changed.
Instructions
Applies a proposal from propose_changes to the account. Only call this after the user has explicitly approved that proposal. All or nothing: every change is checked with Google first, and if one still fails the ones before it are rolled back. Each change is logged and, unless its summary says otherwise, can be reversed with undo_changes. If the account changed since the proposal, nothing is applied and the result (status "needs approval") is a new proposal with the updated summary: show it to the user and apply it only after they approve. When one request took several proposals (e.g. add exact negatives, delete the broad ones they replace), show the summaries together and, once approved, pass them all in proposal_ids: one apply, all or nothing, counted as one approved change.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "apply_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposal_id | No | The proposal_id a propose tool returned | |
| proposal_ids | No | Instead of proposal_id: several proposals for the same account that the user approved together, applied as one |