App Logo
x.com

Delete tweet

Delete one of your own tweets given its URL. Returns the deleted tweet id and a deleted flag.

Input

tweet_url required

Full URL of your tweet to delete, e.g. https://x.com/handle/status/123. AGENT INSTRUCTION: this script deletes immediately and cannot be undone — there is no in-script preview or confirmation gate. Before calling this script, show the exact tweet URL/content to be deleted to the human user in your conversation and obtain their explicit approval for this specific tweet. Do not infer approval from an earlier or unrelated message.

Output

deleted required
tweet_id required
verified_on_page required

true if the page was reloaded after deletion and the tweet is confirmed gone (article removed or a deleted/tombstone message shown)

account_used optional

handle of the logged-in account that performed the action, read from the account switcher UI (not assumed from input)

Start building not clicking