xSearch
A real-time search tool for the X platform provided by xAI, integrated into the xAI adapter package of the Vercel AI SDK. It allows developers to retrieve real-time content from the X platform during AI-generated responses and supports account-level allowlist and blocklist filtering.
Timeline (last 90 days)
Version 5.0.49 fixes the issue where xSearch search tool calls did not preserve the search parameters in input but instead returned an empty object.
If you are using @ai-sdk/xai and rely on the MCP or xSearch tools, it is recommended to upgrade to 5.0.49.
Version 5.0.18 raises the limit on the allowedXHandles and excludedXHandles parameters of the xSearch tool to 20.
The xSearch tool leverages xAI's real-time access to X platform data, enabling the model to retrieve and cite real-time content from X when generating responses.
The allowedXHandles and excludedXHandles parameters provide account-level whitelist/blacklist filtering for search results.
All Facts (5)
Version 5.0.49 fixes the issue where xSearch search tool calls did not preserve the search parameters in input but instead returned an empty object.
50%UnverifiedIf you are using @ai-sdk/xai and rely on the MCP or xSearch tools, it is recommended to upgrade to 5.0.49.
50%UnverifiedVersion 5.0.18 raises the limit on the allowedXHandles and excludedXHandles parameters of the xSearch tool to 20.
50%UnverifiedThe xSearch tool leverages xAI's real-time access to X platform data, enabling the model to retrieve and cite real-time content from X when generating responses.
50%UnverifiedThe allowedXHandles and excludedXHandles parameters provide account-level whitelist/blacklist filtering for search results.
50%