snap_rename
Preview and apply new names for a Snapchat campaign, ad squad, or ad. Use a two-step approval token flow so changes are confirmed before they take effect.
Instructions
Rename a campaign, ad squad or ad. Previews unless confirm=true. Two steps: confirm=false returns a preview and an approval_token; to apply, repeat the same arguments with confirm=true and that approval_token.
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": {
"entity": "<entity>",
"id": "<id>",
"new_name": "<new_name>"
},
"name": "snap_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| entity | Yes | ||
| confirm | No | false = preview only (nothing sent). true = apply; needs approval_token from the preview. | |
| new_name | Yes | ||
| approval_token | No | The approval_token returned by the preview of this exact request. Required with confirm=true. |