Make a campaign link
create_campaign_linkMakes the tagged link the owner will share (an ad, a newsletter, a post, a QR code) and announces the campaign under the name they give it: it becomes one marker on the curve at its first visit, with nothing to sort. For the same campaign placed in several places, call it once per place with the same name. Ask where the link will be placed and what the owner calls the campaign; do not invent either.
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>",
"name": "<name>",
"place": "<place>"
},
"name": "create_campaign_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad | No | The ad's name in the owner's words, when one campaign runs several ads: one link per ad, same campaign name. Written in the link as utm_content; get_campaign_result then compares the ads. | |
| name | Yes | The campaign's name in the owner's words, e.g. "Paris workshop". | |
| page | No | The page of the site the link leads to: a full address or a path. Default: the home page. | |
| paid | No | True when it is a paid ad. | |
| site | Yes | The site: its domain (example.com), its id, or its public id. See list_sites. | |
| other | No | With place "other": where, in a word or two ("podcast"). | |
| place | Yes | Where the link will be placed. "google_ads" is a Google ad (always paid, its own source apart from unpaid search); "print" is a QR code or anything printed; "other" needs `other`. |