snap_set_frequency_cap
Sets or clears a frequency cap on an ad squad to control how often one person sees its ads. Previews the change first and applies it only with an approval token and confirm=true.
Instructions
Limit how often one person sees an ad squad's ads: at most count impressions per every HOURS or DAYS (up to 30 days), or clear the cap. A cap lowers repetition (and so frequency), and may lower delivery. Undo works when a cap existed before. 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": {
"adsquad_id": "<adsquad_id>"
},
"name": "snap_set_frequency_cap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | DAYS | |
| clear | No | ||
| count | No | ||
| every | No | ||
| confirm | No | false = preview only (nothing sent). true = apply; needs approval_token from the preview. | |
| adsquad_id | Yes | ||
| approval_token | No | The approval_token returned by the preview of this exact request. Required with confirm=true. |