search_tweets
Search recent tweets with operators like exact phrases, user filters, exclusions, links, replies, and language. Retrieve up to 100 results per query.
Instructions
Search recent tweets. Supports operators: "exact phrase", from:user, -exclude, has:links, is:reply, lang:en. Requires Basic tier.
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 | Twitter search query. Supports operators: "exact phrase", from:user, -excludeWord, has:links, is:reply, lang:en etc. | |
| max_results | No | Number of results (10-100) | |
| next_token | No | Pagination token from previous search |