grok_agent_search
Perform web and X (Twitter) searches with Grok AI, which analyzes queries, synthesizes findings, and returns cited answers for research and trend tracking.
Instructions
Intelligent search powered by Grok AI. Supports Web search, X (Twitter) search, or mixed search. Grok automatically analyzes queries, executes searches, synthesizes information, and provides cited answers. Ideal for getting latest information, researching topics, and tracking social media trends.
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_agent_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Grok model to use: - grok-4.20-multi-agent-beta-0309: 4-Agent collaboration, lowest hallucination rate (default) - grok-4.20-beta-0309-reasoning: Deep chain-of-thought reasoning - grok-4.20-beta-0309-non-reasoning: Fastest speed, creative divergence | grok-4.20-multi-agent-beta-0309 |
| query | Yes | Search query content | |
| search_type | No | Search type: - web: Web search only - x: X (Twitter) search only - mixed: Both Web and X search (recommended) | mixed |
| output_format | No | Output format: - text: Markdown format (default) - json: Structured JSON (enforced via native JSON Schema) | text |
| x_search_config | No | X search config (when search_type is x or mixed). Image understanding is enabled by default. | |
| web_search_config | No | Web search config (when search_type is web or mixed). Image understanding is enabled by default. |