search_x
Search X posts using Grok to get a summarised answer with citations, synthesised from relevant tweets.
Instructions
Search X (Twitter) posts using Grok and return a summarised answer with citations.
The xAI server autonomously searches X, analyses results, and synthesises an answer grounded in real posts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural-language search query (e.g. "What are people saying about $TSLA?"). | |
| to_date | No | Only include posts on or before this date (ISO 8601). | |
| from_date | No | Only include posts on or after this date (ISO 8601, e.g. "2026-02-01"). | |
| temperature | No | Sampling temperature (0-2). | |
| system_prompt | No | Optional system prompt to shape the response style. | |
| allowed_handles | No | Whitelist of X usernames to restrict search to (max 10). | |
| excluded_handles | No | X usernames to exclude from results (max 10). | |
| enable_video_understanding | No | Let the model analyse video clips in posts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |