X (Twitter)
Social

X (Twitter) Connector

Post tweets, threads, replies. Like and unlike. Read mentions. Send DMs. BYOK OAuth 2.0 Bearer tokens. Some endpoints may require X API Basic tier ($100/mo) per X's tier policies — tier-gated 403s are mapped to PermissionDeniedError.

$pip install "toolsconnector[x]"
9
Actions
Social
Category
Free
Apache 2.0

All 9 Actions

Action Description Parameters Returns
create_thread ⚠Post a thread of tweets sequentiallytextslist
create_tweet ⚠Post a tweet on behalf of the authenticated usertext  [reply_to_tweet_id, quote_tweet_id]Tweet
delete_tweet ⚠Delete a tweet you authoredtweet_idbool
get_meGet the authenticated X user's profileXUser
like_tweet ⚠Like a tweet on behalf of the authenticated useruser_id, tweet_idNoneType
list_mentionsList recent tweets that mention the useruser_id  [max_results, pagination_token]PaginatedList[Tweet]
reply_to_tweet ⚠Reply to a tweettweet_id, textTweet
send_dm ⚠Send a direct message to another X userparticipant_id, textXDirectMessage
unlike_tweet ⚠Unlike a previously-liked tweetuser_id, tweet_idNoneType
Open Interactive Docs & Playground →

Full schema explorer, code generation, and live API testing