apple_twitter
Control X/Twitter through Safari: compose and post tweets, save drafts, reply, like, retweet, and view feed, notifications, and DM counts.
Instructions
Control X/Twitter via Safari. Actions: post, draft, save, list_drafts, post_draft, reply, like, retweet, feed, notifications, dm_check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num | No | Draft number to post | |
| text | No | Tweet text (max 280 chars) | |
| action | Yes | post: Post a tweet on X/Twitter via Safari (requires Safari logged into X with JS from Apple Events enabled); draft: Create a tweet and save it as an X native draft (opens compose, types, closes, saves); save: Save the current tweet being composed in Safari to a local drafts file; list_drafts: List locally saved tweet drafts; post_draft: Post a saved draft by number; reply: Open a reply to a specific tweet; like: Like the current tweet visible in Safari; retweet: Retweet/repost the current tweet visible in Safari; feed: Get the latest tweets from the X timeline; notifications: Check X notification count; dm_check: Check X DM count | |
| confirm | No | Set to true to confirm a protected/destructive action. Without this, protected actions return a preview instead of executing. | |
| auto_send | No | Auto-click Post button (default true) | |
| tweet_url | No | URL of the tweet to reply to (or tweet ID) |