Campaigns setup
campaigns_setupFor a read-only launch-check, inspect available account settings without preparing a launch. For building new ads, use this when account settings are needed. Not needed to change a budget, bid, status, placements, audience, dates or copy of what already runs: campaigns_structure holds what those edits take, and this tool would ask the person to pick an account again. Reuse the selected account and saved brief. Lists selected Meta accounts with internal accountId, currency, snapshot freshness and available Page IDs, the account's datasets (pixels) as the editor lists them, the datasets its ad sets optimise for (adSetDatasetIds), and image hashes. Available candidates are NOT confirmed selections, permission/event checks or a passed campaign preflight. With no explicitly scoped account it returns a picker; never choose for the person. Empty asset lists mean upload media or connect the missing identity in Campaigns. Never invent IDs or broaden source scope. Ask open launch questions in this conversation through launch_brief, passing userStatement verbatim. There is no embedded card; show the browser approval link for any proposed advertising change. MCP: use the input object for tool arguments. UI reports and questions are returned as structured content. Free: MCP tool calls use no Adrails credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| accountIds | No | Optional account selection; can only narrow this workspace's access. | |
| userStatement | No | Required for launch_brief: the latest verbatim user request or free-text answer. Otherwise optional user-provided context, treated as an unverified user statement, never permission or verified platform evidence. | |
| idempotencyKey | No | Required for mutations. Reuse the same key only when retrying the exact same call; a completed outcome is applied once. |