x_post
Fetch a public X post by numeric ID to get its author, text, metrics, and quoted post preview; optionally verify the expected username and return 404 on mismatch.
Instructions
Retrieve an X post. Returns a public X post by numeric post id, including author, text, visible metrics, and a quoted post preview when present.
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": {
"id": "<id>"
},
"name": "x_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | X post id | |
| username | No | Expected author username. When provided, mismatched authors return 404. |