Skip to Content

X

X icon
Arcade Optimized

Arcade.dev LLM tools for X (Twitter)

Author:Arcade
Version:1.1.1
Auth:User authorization via the X auth provider
7tools
PyPI VersionPython VersionsWheel StatusDownloadsLicense

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)

7 of 7
Tool nameDescriptionSecrets
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

ParameterTypeReq.Description
tweet_idstringRequiredThe ID of the tweet you want to delete

Requirements

No secrets required

Output

Type:stringSuccess string confirming the tweet deletion
#

X.LookupSingleUserByUsername

Look up a user on X (Twitter) by their username.

Parameters

ParameterTypeReq.Description
usernamestringRequiredThe username of the X (Twitter) user to look up

Requirements

No secrets required

Output

Type:jsonUser information including id, name, username, and description
#

X.LookupTweetById

Look up a tweet on X (Twitter) by tweet ID.

Parameters

ParameterTypeReq.Description
tweet_idstringRequiredThe ID of the tweet you want to look up

Requirements

No secrets required

Output

Type:jsonDictionary containing the tweet data
#

X.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

ParameterTypeReq.Description
tweet_textstringRequiredThe text content of the tweet you want to post
quote_tweet_idstringOptionalThe ID of the tweet you want to quote. It must be a valid integer as a string. Optional.

Requirements

No secrets required

Output

Type:stringSuccess string and the URL of the tweet
#

X.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

ParameterTypeReq.Description
tweet_idstringRequiredThe ID of the tweet you want to reply to. It must be a valid integer as a string.
tweet_textstringRequiredThe text content of the tweet you want to post
quote_tweet_idstringOptionalThe ID of the tweet you want to quote. It must be a valid integer as a string. Optional.

Requirements

No secrets required

Output

Type:stringSuccess string and the URL of the tweet
#

X.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

ParameterTypeReq.Description
keywordsarray<string>OptionalList of keywords that must be present in the tweet
phrasesarray<string>OptionalList of phrases that must be present in the tweet
max_resultsintegerOptionalThe maximum number of results to return. Must be in range [1, 100] inclusive
next_tokenstringOptionalThe pagination token starting from which to return results

Requirements

No secrets required

Output

Type:jsonDictionary containing the search results
#

X.SearchRecentTweetsByUsername

Search for recent tweets (last 7 days) on X (Twitter) by username. Includes replies and reposts.

Parameters

ParameterTypeReq.Description
usernamestringRequiredThe username of the X (Twitter) user to look up
max_resultsintegerOptionalThe maximum number of results to return. Must be in range [1, 100] inclusive
next_tokenstringOptionalThe pagination token starting from which to return results

Requirements

No secrets required

Output

Type:jsonDictionary containing the search results
Last updated on