twitter_publish_text
Post a tweet to Twitter/X with optional reply targeting. Provide tweet text and an optional reply-to tweet ID to publish immediately.
Instructions
Publish a tweet to Twitter/X, optionally as a reply to another tweet.
Args: text: The tweet content (280 chars standard, 25000 for Premium). reply_to_id: Optional tweet ID to reply to.
Returns: JSON string with the published tweet ID and permalink.
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": "twitter_publish_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| reply_to_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |