createPost
Create and publish posts on X.com with text, media attachments, polls, geo-tags, and reply controls for authenticated users.
Instructions
Create a new post on behalf of the authenticated user
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": "createPost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text content of the post | |
| direct_message_deep_link | No | Direct message deep link | |
| for_super_followers_only | No | Whether the post is for super followers only | |
| geo | No | ||
| media | No | ||
| poll | No | ||
| quote_tweet_id | No | ID of the post to quote | |
| reply | No | ||
| reply_settings | No | Who can reply to this post |