Get campaigns
get_campaignsLists campaigns for a Meta ad account, returning status, objective, and budget, with optional status filters and a result limit.
Instructions
Lists campaigns for an ad account, with status, objective and budget.
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": "get_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max campaigns to return (default 25). | |
| status | No | Filter to only these campaign statuses. | |
| client_id | No | Client identifier from accounts.config.json. Resolves the ad account and token automatically. Omit to use account_id + the default META_ACCESS_TOKEN instead. | |
| account_id | No | Ad account id, e.g. "act_1234567890". Required if client_id is omitted or its config entry has no ad_account_id. |