The X integration is no longer just inbound. Your agents can now take action on X directly.
What's new
- 14 agent tools for X - post tweets, reply, quote, delete, search recent tweets, like/unlike, retweet/unretweet, send DMs, follow/unfollow, look up users, and fetch user timelines.
- OAuth 1.0a user-context auth - agents act as your X account using your own API credentials. All API calls are signed per-request.
- Webhook is now optional - the Bearer Token field is no longer required. Connect with just your OAuth 1.0a credentials to give agents tools without setting up webhooks. Add the Bearer Token later if you want inbound event triggers too.
- Per-agent capability control - assign X tools to specific agents and set per-tool permissions (allow, require approval, or disable).
Available tools
| Tool | What it does |
|---|---|
post_tweet | Post a tweet, reply, or quote tweet |
delete_tweet | Delete a tweet by ID |
get_tweet | Fetch a tweet with author info and metrics |
search_tweets | Search recent tweets (last 7 days) with full query syntax |
like_tweet / unlike_tweet | Like or unlike a tweet |
retweet / unretweet | Retweet or undo a retweet |
get_user | Look up a user by handle |
get_user_tweets | Fetch recent tweets from a user |
send_dm | Send a direct message |
follow_user / unfollow_user | Follow or unfollow a user |
get_me | Get the authenticated user's profile |
Example workflows
- A growth agent that monitors mentions via webhook triggers, then replies and follows back automatically
- A content agent that researches trending topics with
search_tweets, drafts a thread, and posts it - A support agent that watches for DM events and responds with
send_dm
Building on the webhook integration from last week, you now have a complete two-way X integration: listen to events and act on them, all from the same connection.