Check a CTA before an ad
cta_check[read-only] Checks whether a draft, post or link points at the brand's goal page (the same check the ad and boost routes run in paid mode; a block there refuses the ad). Run it before every boost or ad and paste the result. Nothing stored, free. Needs the Pro plan or higher. (Wraps POST /api/v2/cta-check.)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cta_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default: paid. | |
| postId | No | A post id. | |
| brandId | No | A brand id from GET /api/v2/brands. Required for an account-wide key; a brand-bound key may omit it. | |
| caption | No | The caption, when it differs from the draft. | |
| linkUrl | No | The link the ad or post would use. | |
| adButton | No | The ad button, e.g. LEARN_MORE. | |
| contentId | No | A draft id. | |
| objective | No | The ad objective, e.g. traffic, link_clicks, engagement. Click objectives can block; others warn. | |
| platforms | No |