Search X with Grok CLI
grok_x_searchSearch X/Twitter posts through a local Grok CLI profile without using xAI API credits. Filter by date, handles, and result count for coding agents.
Instructions
Search X/Twitter through an isolated Grok CLI profile. Does not use xAI API credits.
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": "grok_x_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | X/Twitter search query. | |
| since | No | Optional lower date bound or recency hint. | |
| until | No | Optional upper date bound. | |
| handles | No | Optional X handles to prioritize, e.g. @grok. | |
| maxResults | No | Maximum high-signal results to return. |