Metrics for a post
get_post_metricsPer-platform engagement for one published post: views, likes, comments, shares, reach, saves, engagement, and the live URL. A null metric is one the platform does not report, not zero; empty data means the numbers have not synced yet (roughly every 6 hours).
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": {
"post_id": "<post_id>"
},
"name": "get_post_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | The post id from create_post |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | Present and false only on a refusal. | |
| data | No | One row per platform. EMPTY means the numbers haven't synced yet, not that nobody saw it. | |
| error | No | What was refused, in a sentence, when `ok` is false. | |
| post_id | No | ||
| retriable | No | False when asking again cannot change the answer. | |
| error_code | No | Machine reason for a refusal. | |
| replaced_by | No | The id the post has now, when you asked with one an edit retired. An edit gives a post a new id: get_delivery_receipt and get_post_metrics answer for this current version (and `asked_for` is the id you sent); update_post and delete_post refuse with error_code `replaced`. Use this id from here on. |