list_campaigns
Retrieve all Meta ad campaigns with IDs, names, status, and budget details for a specific account to enable campaign management and analysis.
Instructions
List all campaigns for a Meta ad account with their IDs, names, status, and budget. account_id comes from get_my_accounts. Use campaign IDs from this response in analyze_campaign_ads.
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": {
"account_id": "<account_id>"
},
"name": "list_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||