pages_get_insights
Retrieve Facebook Page insights including impressions, engagements, fans, and views, with flexible periods from daily to lifetime.
Instructions
Get Page insights metrics.
Args: metrics: e.g. ["page_impressions", "page_engaged_users", "page_post_engagements", "page_fans", "page_views_total"]. period: day, week, days_28, lifetime.
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": {
"page_id": "<page_id>",
"metrics": "<metrics>"
},
"name": "pages_get_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ||
| until | No | ||
| period | No | day | |
| metrics | Yes | ||
| page_id | Yes | ||
| date_preset | No |