Search tweets
ca_search_tweetsSearch archived tweets by keyword, author, reply target, and date range to find posts where every specified word appears; paginate results for review.
Instructions
Full-text search across the archive: every word must appear. Filter by author, by who was replied to, and by date. Pages with offset (max 5,000).
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": {
"q": "<q>"
},
"name": "ca_search_tweets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Words that must all appear. Put an exact phrase in double quotes to keep only tweets containing it. OR and -word are not supported. | |
| limit | No | Results per page (default 25, max 50). | |
| since | No | Start, inclusive. ISO 8601 date or datetime, e.g. 2024-01-01. | |
| until | No | End, exclusive. ISO 8601 date or datetime. | |
| format | No | compact (default) trims each tweet to id, url, user, date, text and counts; full returns every API field. | |
| offset | No | ||
| from_user | No | Only tweets by this username. | |
| reply_to_user | No | Only replies to this username. |