edit_tweet
Prepare a text edit for your own X post by providing the current exact text and replacement. The edit requires approval; media replacement is not supported.
Instructions
Prepare a text edit of your own post. Supply its current exact text and replacement; configure self_handles. X must expose Edit post; eligibility/time limits apply. Always requires approval. Media replacement is unsupported.
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": {
"account": "<account>",
"tweet_url": "<tweet_url>",
"expected_text": "<expected_text>",
"text": "<text>"
},
"name": "edit_tweet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| account | Yes | ||
| tweet_url | Yes | ||
| expected_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||