search_recent_mentions
Search recent tweets mentioning your account or matching a custom query to monitor brand mentions or track conversations. Returns tweet text, author info, timestamp, and engagement metrics.
Instructions
Searches for recent tweets mentioning the authenticated user or matching a custom query. When no query is provided, fetches tweets that mention the authenticated account. When a query is provided, uses the Twitter recent search API to find matching tweets. Use this tool when the LLM needs to monitor mentions of the user, track brand/conversation mentions, or search for recent tweets on a topic. Each result includes the tweet text, author info, timestamp, and engagement metrics. Returns up to max_results tweets (default 10, max 100).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional search query string. When provided, uses the Twitter recent search endpoint to find tweets matching the query. Supports the full Twitter advanced search syntax. When omitted, fetches tweets that mention the authenticated user's account. | |
| max_results | No | Maximum number of mention/search results to return. Must be between 5 and 100. Defaults to 10. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Indicates the outcome of the operation: "success" or "error". | |
| message | Yes | A human-readable summary of the result. | |
| data | Yes | Container holding the matched tweets and metadata. |