Search X
search_xSearch X (Twitter) for recent posts and discussions using Grok, returning a summary and links; requires your own xAI API key.
Instructions
Search X (Twitter) for recent posts and discussions with xAI's Grok. Needs your own xAI API key, added at https://www.polydev.ai/dashboard/models; it is not part of the free allowance. Returns a summary plus links to the posts.
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 |
|---|---|---|---|
| model | No | Optional xAI model ID. Leave empty for the default. | |
| query | Yes | What to search for on X. Can be keywords, questions, or topics (e.g. 'MCP servers', 'what are people saying about Claude Code', '@elonmusk AI') | |
| user_token | No | Polydev token (starts with pd_). Optional when POLYDEV_USER_TOKEN is set or you have run the login tool. |