# @ai-sdk/xai@5.0.49

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

## Human Summary
Vercel AI SDK's xAI provider patch fixes an issue where arguments for mcpServer and xSearch tool calls were lost and returned as empty objects.

## Agent Summary
@ai-sdk/xai version 5.0.49 preserves tool call arguments in the input payload for mcpServer and xSearch calls rather than returning empty objects.

## Body
The @ai-sdk/xai package released patch version 5.0.49 addressing tool argument retention. Previously, tool calls for mcpServer and xSearch could return empty objects for their input arguments. Commit 6f56c29 ensures MCP call arguments are preserved in the input of mcpServer tool calls, and commit 61ce23e ensures search arguments are kept in the input of xSearch tool calls.

## Recommended actions
- Upgrade @ai-sdk/xai to version 5.0.49 if using mcpServer or xSearch tool calls to ensure input arguments are properly retained.

## 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.