search_x
Search X (Twitter) for real-time posts, discussions, and trends on any topic, with date range and handle filters, returning summarized results with original user quotes.
Instructions
Search X (Twitter) for real-time posts, discussions, and trends on any topic. Powered by Grok's x_search, returns summarized results with original quotes from users. Supports filtering by date range and specific X handles.
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_x"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query. Can be a topic, keyword, hashtag, or question. | |
| to_date | No | End date for search range (YYYY-MM-DD format) | |
| from_date | No | Start date for search range (YYYY-MM-DD format) | |
| x_handles | No | Comma-separated X handles to limit search to (e.g. 'elonmusk,openai'). Max 10. |