X
Arcade.dev LLM tools for X (Twitter)
X provider toolkit enables programmatic access to X (Twitter) for reading and managing tweets and user profiles, optimized for LLM-driven flows. It supports posting, replying, deleting, searching recent tweets, and retrieving the authenticated account.
Capabilities
- Query and filter recent tweets and user timelines with keyword and username search.
- Compose and manage tweet lifecycle: create non-reply posts, reply/quote responsibly, and delete owned tweets.
- Access authenticated identity and act on behalf of the user within granted scopes.
- Enforce action constraints and parameter validation (e.g., use Post for non-replies, Reply for replies, include quote_tweet_id when quoting).
OAuth Provider: x Scopes: tweet.read, tweet.write, users.read
Available tools(8)
| Tool name | Description | Secrets | |
|---|---|---|---|
Delete a tweet on X (Twitter). | |||
Look up a user on X (Twitter) by their username. | |||
Look up a tweet on X (Twitter) by tweet ID. | |||
Post a tweet to X (Twitter).
IMPORTANT NOTE:
Use this tool ONLY when posting a tweet that is not a reply.
If you need to reply to a tweet, use the ReplyToTweet tool instead.
If you need to quote a tweet, you must include the quote_tweet_id parameter. | |||
Reply to a tweet on X (Twitter).
IMPORTANT NOTE:
Use this tool ONLY when replying to a tweet directly.
If you need to post a tweet that is not a reply, use the PostTweet tool instead.
If you need to quote a tweet on your reply, you must include the quote_tweet_id parameter. | |||
Search for recent tweets (last 7 days) on X (Twitter) by required keywords and phrases.
Includes replies and reposts.
One of the following input parameters MUST be provided: keywords, phrases | |||
Search for recent tweets (last 7 days) on X (Twitter) by username.
Includes replies and reposts. | |||
Get information about the authenticated X (Twitter) user.
Returns the current user's profile including their username, name, description,
follower counts, and other account information. |
Selected tools
No tools selected.
Click "Show all tools" to add tools.
Requirements
Select tools to see requirements
X.DeleteTweetById
Delete a tweet on X (Twitter).
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
tweet_id | string | Required | The ID of the tweet you want to delete |
Requirements
Output
string— Success string confirming the tweet deletionX.LookupSingleUserByUsername
Look up a user on X (Twitter) by their username.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
username | string | Required | The username of the X (Twitter) user to look up |
Requirements
Output
json— User information including id, name, username, and descriptionX.LookupTweetById
Look up a tweet on X (Twitter) by tweet ID.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
tweet_id | string | Required | The ID of the tweet you want to look up |
Requirements
Output
json— Dictionary containing the tweet dataX.PostTweet
Post a tweet to X (Twitter). IMPORTANT NOTE: Use this tool ONLY when posting a tweet that is not a reply. If you need to reply to a tweet, use the ReplyToTweet tool instead. If you need to quote a tweet, you must include the quote_tweet_id parameter.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
tweet_text | string | Required | The text content of the tweet you want to post |
quote_tweet_id | string | Optional | The ID of the tweet you want to quote. It must be a valid integer as a string. Default is None. |
Requirements
Output
string— Success string and the URL of the tweetX.ReplyToTweet
Reply to a tweet on X (Twitter). IMPORTANT NOTE: Use this tool ONLY when replying to a tweet directly. If you need to post a tweet that is not a reply, use the PostTweet tool instead. If you need to quote a tweet on your reply, you must include the quote_tweet_id parameter.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
tweet_id | string | Required | The ID of the tweet you want to reply to. It must be a valid integer as a string. |
tweet_text | string | Required | The text content of the tweet you want to post |
quote_tweet_id | string | Optional | The ID of the tweet you want to quote. It must be a valid integer as a string. Optional. |
Requirements
Output
string— Success string and the URL of the tweetX.SearchRecentTweetsByKeywords
Search for recent tweets (last 7 days) on X (Twitter) by required keywords and phrases. Includes replies and reposts. One of the following input parameters MUST be provided: keywords, phrases
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
keywords | array<string> | Optional | List of keywords that must be present in the tweet |
phrases | array<string> | Optional | List of phrases that must be present in the tweet |
max_results | integer | Optional | The maximum number of results to return. Must be in range [1, 100] inclusive |
next_token | string | Optional | The pagination token starting from which to return results |
Requirements
Output
json— Dictionary containing the search resultsX.SearchRecentTweetsByUsername
Search for recent tweets (last 7 days) on X (Twitter) by username. Includes replies and reposts.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
username | string | Required | The username of the X (Twitter) user to look up |
max_results | integer | Optional | The maximum number of results to return. Must be in range [1, 100] inclusive |
next_token | string | Optional | The pagination token starting from which to return results |
Requirements
Output
json— Dictionary containing the search resultsX.WhoAmI
Get information about the authenticated X (Twitter) user. Returns the current user's profile including their username, name, description, follower counts, and other account information.
Parameters
No parameters required.
Requirements
Output
json— Authenticated user's profile information