Sort a campaign: one day, it lasts, or ignore
sort_campaignRecords the owner's answer for one campaign of list_campaigns_to_sort: "day" (one day: a marker) puts one marker on the curve, on the day of the campaign's first visit, under the name the owner gives ("Facebook ad, Paris workshop"); "lasts" (it lasts: a series) does the same and makes the campaign a continuous series read week by week (an ad that runs, a tool that puts one campaign name on every post); "ignore" keeps it off the curve for good. "show" is the same as "day". Only call it with the owner's explicit answer for that campaign; never decide for them, and never choose the name yourself.
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": {
"site": "<site>",
"campaign": "<campaign>",
"decision": "<decision>"
},
"name": "sort_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | With "day" or "lasts": the name the owner wants, in their words. Default: the campaign's own name. | |
| site | Yes | The site: its domain (example.com), its id, or its public id. See list_sites. | |
| campaign | Yes | The campaign's id, from list_campaigns_to_sort. | |
| decision | Yes |