Get one post from X
get_x_postFetch one post by its URL or id: its text, author, created_at, public_metrics with views, media, hashtags and mentions, and the post it replies to or quotes. Give exactly one of url or id. Costs 3 credits, cached or not; a failed call is refunded.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_x_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The number after /status/ in its URL. | |
| url | No | The post's URL, `https://x.com/<username>/status/<id>`. | |
| fresh | No | Skip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it. |