Read one public X (Twitter) post or tweet
read_x_postReads one public X (Twitter) post, a tweet, from the one x.com or twitter.com link (or post id) the user gives. Its only X call is X's official embed endpoint, publish.x.com/oembed, with no login and no key. Returns the post's text, author (handle, name), createdAt (YYYY-MM-DD), lang, the links in the text, hasMedia and embedHtml, X's own embed markup. When the post is a reply, X's embed shows the one parent post only where embedHtml is rendered with X's widgets.js; the parent's text, link and id are not in this answer, so to read the parent, call again with the parent's link (ask the user for it). X cuts posts longer than 280 characters in the embed and ends them with an ellipsis. No media files, quoted post, counts, other replies, threads, timelines, search or profiles. A post X will not embed (deleted, protected, age-restricted, suspended author) comes back as a type "error" row with code unavailable, never partial data.
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": {
"posts": "<posts>"
},
"name": "read_x_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posts | Yes | The one post link or numeric id to read, e.g. ["https://x.com/jack/status/20"] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache | Yes | How the result was served: HIT or STALE from a cache tier, MISS or BYPASS when it was fetched now. | |
| results | Yes | One row for the one requested post, read through X's oEmbed endpoint, or an error row with a code. |