search_tweets
Search recent tweets from the last 7 days using X/Twitter's native search operators like from:, to:, or is:retweet. Specify a query and optional result count to find relevant posts fast.
Instructions
Search recent tweets on X/Twitter (last 7 days)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_tweets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query (supports X search operators like from:, to:, is:retweet, etc.) | |
| max_results | No | Maximum number of results (10-100, default 10) |