snap_set_schedule
Set or update start and end times for a Snapchat campaign or ad squad, with preview and approval-token confirmation before applying scheduled delivery changes.
Instructions
Set start_time and/or end_time (ISO with offset) on a campaign or ad squad. end_time must be in the future and after the start. A change that lets an ACTIVE item deliver sooner (an earlier start, or reviving an ended item) is checked and limited like enabling it. 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>"
},
"name": "snap_set_schedule"
}
}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. | |
| end_time | No | ||
| start_time | No | ||
| approval_token | No | The approval_token returned by the preview of this exact request. Required with confirm=true. |