Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Retrieve posts that quote a post
TWITTER_RETRIEVE_POSTS_THAT_QUOTE_A_POSTRetrieves Tweets that quote a specified Tweet, requiring a valid Tweet ID.
Retrieve liked tweets by user ID
TWITTER_RETURNS_POST_OBJECTS_LIKED_BY_THE_PROVIDED_USER_IDRetrieves Tweets liked by a specified Twitter user, provided their liked tweets are public or accessible.
Retweet post
TWITTER_RETWEET_POSTRetweets a Tweet for the authenticated user. The user ID is automatically fetched from the authenticated session - you only need to provide the tweet_id to retweet.
Get full archive search counts
TWITTER_SEARCH_FULL_ARCHIVE_COUNTSReturns a count of Tweets from the full archive that match a specified query, aggregated by day, hour, or minute; `start_time` must be before `end_time` if both are provided, and `since_id`/`until_id` cannot be used with `start_time`/`end_time`.
Search X news
TWITTER_SEARCH_NEWSSearches X for AI-generated news stories matching text.
Fetch recent tweet counts
TWITTER_SEARCH_RECENT_COUNTSRetrieves the count of Tweets matching a specified search query within the last 7 days, aggregated by 'minute', 'hour', or 'day'.
Search for spaces
TWITTER_SEARCH_SPACESSearches for Twitter Spaces by a textual query, optionally filtering by state (live, scheduled, all) to discover audio conversations.
Search users
TWITTER_SEARCH_USERSSearches X accounts by name or @username and returns one page of profiles.
Send a new message to a user
TWITTER_SEND_A_NEW_MESSAGE_TO_A_USERSends a new Direct Message with text and/or media (media_id for attachments must be pre-uploaded) to a specified Twitter user; this creates a new DM and does not modify existing messages.
Send a new message to a DM conversation
TWITTER_SEND_DM_TO_CONVERSATIONSends a message, with optional text and/or media attachments (using pre-uploaded `media_id`s), to a specified Twitter Direct Message conversation.
Get tweets label stream
TWITTER_STREAM_POST_LABELSStream real-time Tweet label events (apply/remove). Requires Enterprise access and App-Only OAuth 2.0 auth. Returns PublicTweetNotice or PublicTweetUnviewable events. 403 errors indicate missing Enterprise access or wrong auth type.
Unfollow a list
TWITTER_UNFOLLOW_LISTEnables a user (via `id`) to unfollow a specific Twitter List (via `list_id`), which removes its tweets from their timeline and stops related notifications; the action reports `following: false` on success, even if the user was not initially following the list.
Unfollow user
TWITTER_UNFOLLOW_USERAllows the authenticated user to unfollow an existing Twitter user (`target_user_id`), which removes the follow relationship. The source user ID is automatically determined from the authenticated session.
Unlike post
TWITTER_UNLIKE_POSTAllows an authenticated user (`id`) to remove their like from a specific post (`tweet_id`); the action is idempotent and completes successfully even if the post was not liked.
Unmute a user by user ID
TWITTER_UNMUTE_USERUnmutes a target user for the authenticated user, allowing them to see Tweets and notifications from the target user again. The source_user_id is automatically populated from the authenticated user's credentials.
Unpin a list
TWITTER_UNPIN_LISTUnpins a List (specified by list_id) from the authenticated user's profile. The user ID is automatically retrieved if not provided.
Unretweet post
TWITTER_UNRETWEET_POSTRemoves a user's retweet of a specified Post, if the user had previously retweeted it.
Update list attributes
TWITTER_UPDATE_LISTUpdates an existing Twitter List's name, description, or privacy status, requiring the List ID and at least one mutable property.
Upload Large Media
TWITTER_UPLOAD_LARGE_MEDIAUploads a single media file to X/Twitter using simple or chunked upload based on its category and size. For chunked uploads, it polls pending processing and raises an error if processing fails or polling times out.
Upload Media
TWITTER_UPLOAD_MEDIAUploads one image or subtitle file under 5 MiB to X/Twitter using the v2 API, with tweet_image, dm_image, or subtitles categories. The returned media identifier expires; the response includes its expiry interval.