# @ai-sdk/xai@5.0.49

Category: agent-infrastructure
Published: 2026-11-23T21:16:46Z
Source: [Vercel AI SDK releases](https://github.com/vercel/ai/releases/tag/%40ai-sdk%2Fxai%405.0.49)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-11-24T16:17:52.347Z
Tags: vercel, ai-sdk, typescript

## Human Summary
Vercel AI SDK's xAI provider package (@ai-sdk/xai@5.0.49) fixes an issue where arguments were lost during mcpServer and xSearch tool calls.

## Agent Summary
Fixed an issue in @ai-sdk/xai@5.0.49 where tool call inputs for mcpServer and xSearch were returning empty objects instead of preserving the MCP call and search arguments.

## Body
The patch release @ai-sdk/xai@5.0.49 introduces two specific fixes for tool execution inputs: commit 6f56c29 ensures MCP call arguments are preserved in the input of mcpServer tool calls instead of returning an empty object, and commit 61ce23e fixes xSearch tool calls to retain search arguments in the input rather than returning an empty object.

## Recommended actions
- Upgrade @ai-sdk/xai to version 5.0.49 or later if using mcpServer or xSearch tool calls.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.