x.com
Delete tweet
Input
tweet_url requiredFull URL of your tweet to delete, e.g. https://x.com/handle/status/123. This deletes immediately and cannot be undone, and the script has no preview or confirmation step of its own. Before calling it, show the exact tweet URL and its content to the person you are helping and get their explicit approval for that specific tweet; do not infer approval from an earlier or unrelated message.
Output
deleted requiredtweet_id requiredverified_on_page requiredtrue if the page was reloaded after deletion and the tweet is confirmed gone (article removed or a deleted/tombstone message shown)
account_used optionalhandle of the logged-in account that performed the action, read from the account switcher UI (not assumed from input)
