Meta ad comments
fetch_ad_commentsWhat people say under Meta ads: objections, praise and questions, in their own words. Read ad comments from the shared DB (populated by the Comment Analysis feature). Returns messages, authors, like counts, whether the page replied. Use for extracting customer language, objections, praise, and pain points. IMPORTANT: if the user asks about "all ads" or "account-wide", call WITHOUT ad_ids/post_ids to get every comment for the ad account in one query. Use ad_ids/post_ids only to narrow down to specific ads. If no data is found, tell the user to run Comment Analysis sync first.
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": {
"ad_account_id": "<ad_account_id>"
},
"name": "fetch_ad_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max comments to return (default 200, max 1000). | |
| ad_ids | No | Optional: narrow to specific Meta ad IDs. | |
| post_ids | No | Optional: narrow to specific Facebook/Instagram post IDs. | |
| since_days | No | Only return comments created in the last N days (default 30). | |
| ad_account_id | Yes | Meta ad account id (act_…), from list_ad_accounts |