x_post
Publishes standalone tweets, quote-posts, or replies via X API v2 with dry-run default; routes around blocked cold replies using quote IDs or Web Intent links.
Instructions
Posts a standalone tweet, quote-post, or reply via X API v2 (POST /2/tweets, OAuth 1.0a). Defaults to dry_run=true. Self-serve X API tiers block cold replies to unmentioned third-party posts (HTTP 403): use quote_tweet_id via API or x_intent_url in the browser.
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": {
"text": "<text>"
},
"name": "x_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Exact tweet body. | |
| dry_run | No | Defaults to true. Set false only after explicit user confirmation to publish live. | |
| allow_over_280 | No | Set true only for X Premium accounts allowed > 280 weighted chars. | |
| quote_tweet_id | No | Optional tweet ID to quote-post via API. | |
| in_reply_to_tweet_id | No | Optional parent tweet ID (self-threads or tweets that mentioned you). |