Create retweet draft
create_retweet_draftDraft a retweet or undo-retweet action for X, requiring approval before publishing. Provide the numeric post ID to queue the action.
Instructions
Create a draft retweet or undo-retweet action. NOT executed until approved and retweet_post or undo_retweet is called. Pass the numeric post id from an X URL (e.g. .../status/1234567890).
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": {
"tweetId": "<tweetId>",
"action": "<action>"
},
"name": "create_retweet_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | "retweet" to repost; "undo" to remove your repost of this post. | |
| tweetId | Yes | Numeric X post id to retweet or undo retweet for. |