post_tweet
Publish a tweet to X from the authenticated account, optionally reply to a tweet ID, and receive the URL of the created tweet.
Instructions
Publish a new tweet from the authenticated account. Returns the URL of the created tweet. Use reply_to to reply to an existing tweet id.
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": "post_tweet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The tweet body. Up to 280 chars for a normal tweet; longer becomes a note-tweet. | |
| reply_to | No | Optional tweet id to reply to. |