search_tweets
Search recent tweets by keyword or phrase. Get tweet text, author, engagement metrics, and URLs from the last 7 days, excluding retweets.
Instructions
Search recent tweets by keyword or phrase.
Searches the last 7 days of public tweets. Retweets are excluded. Returns tweets with text, author, engagement metrics, and URLs.
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 (e.g. "AI startups", "from:username", "#buildinpublic") | |
| max_results | No | Number of results to return (10-100, default 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |