Apply a change
apply_changeApplies a previewed ad change through the platform's own API, blocking high-risk edits until you confirm and refusing changes if account state moved since the preview.
Instructions
Makes a change that preview_change showed, through the ad platform's own API (such
as the Google Ads API or Meta's Marketing API). A high-risk change (spends money, goes
live, can't be undone) is refused unless confirmed is true. Refused when the state
moved since the preview. The change is recorded in Pipelinica under AI access.
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": {
"platform": "<platform>",
"connection": "<connection>",
"action": "<action>",
"settings": "<settings>",
"params": "<params>",
"change_id": "<change_id>"
},
"name": "apply_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | A change's name from describe_actions. | |
| params | Yes | The same parameters as the preview. | |
| platform | Yes | A platform id from list_platforms. | |
| settings | Yes | The ad account's `settings` from list_options. | |
| change_id | Yes | The preview's change_id. | |
| confirmed | No | True only after the user said yes to a high-risk change (the preview's `risk` is `high`). Never set it without asking them. | |
| connection | Yes | A connection id from list_platforms. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| risk | No | normal | |
| lines | Yes | ||
| notes | No | ||
| risks | No | ||
| summary | Yes |