twitter_tweets
Batch lookup posts by up to 100 IDs, returning text, timestamps, author info, and engagement metrics. Simplify retrieving specific tweets for analysis.
Instructions
Batch post lookup by ids (up to 100) with engagement metrics.
Returns: {data:[{id, text, created_at, author_id, public_metrics}], includes:{users:[…]}}
Auth: needs your own key in X_BEARER_TOKEN.
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": {
"ids": "<ids>"
},
"name": "twitter_tweets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Post id(s), up to 100. | |
| expansions | No | Related objects (CSV). | author_id |
| user_fields | No | User fields (CSV). | username,name,verified |
| tweet_fields | No | Post fields (CSV). | created_at,author_id,public_metrics,lang |