X
Arcade.dev LLM tools for X (Twitter)
Arcade.dev provides a powerful toolkit for interacting with X (Twitter), enabling developers to seamlessly integrate Twitter functionality into their applications. This toolkit offers a variety of features to manage tweets, user information, and search capabilities.
Capabilities
- Post, delete, and reply to tweets programmatically.
- Search for recent tweets by keywords or usernames.
- Retrieve user details by username.
OAuth
Provider: X (Twitter)
Scopes: tweet.read, tweet.write, users.read
Secrets
No secrets are required for using this toolkit.
Available tools(7)
| 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. |
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. Optional. |
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 results