X (Twitter): Fetch a tweet with its reply thread
x_get_tweet_detailGet a tweet by its ID together with the first page of replies beneath it. Returns the text, author, timestamp and like, retweet, reply, quote, bookmark and view counts for the tweet and each reply. Load more replies with /x/get-tweet-replies. Read-only: returns public data and changes nothing. Costs 1 credit per request.
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": {
"tweetId": "<tweetId>"
},
"name": "x_get_tweet_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tweetId | Yes | Numeric ID of the focal tweet to expand, or the tweet link, e.g. "1234567890". | |
| cacheOnly | No | Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true. | |
| sortOrder | No | Reply ordering: "Relevance" for X's ranking (default), "Recency" for newest first, "Likes" for most liked first. | |
| cacheMaxAgeHours | No | Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24. |