get_metrics
Retrieve engagement metrics for X (Twitter) posts, including impressions, likes, retweets, replies, quotes, and bookmarks, to analyze post performance and audience interaction.
Instructions
Get engagement metrics for a specific post (impressions, likes, retweets, replies, quotes, bookmarks). Requires the tweet to be authored by the authenticated user for non-public metrics.
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": {
"tweet_id": "<tweet_id>"
},
"name": "get_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tweet_id | Yes | The tweet ID or URL to get metrics for |