xAI x_search Migration

Move xAI search settings to plugin-owned config paths

Page scope (xAI migration niche): This page covers only xAI x_search migration details. For general upgrade flow use Upgrading / Migrating. For release history use Releases.

What changed in v2026.4.2

Legacy keys under tools.web.x_search.* moved to plugin-owned keys under plugins.entries.xai.config.xSearch.*. Auth is standardized on plugins.entries.xai.config.webSearch.apiKey (or XAI_API_KEY).

Migration steps

  1. Run openclaw doctor --fix.
  2. Verify old tools.web.x_search.* keys are removed.
  3. Confirm new keys under plugins.entries.xai.config.xSearch.*.
  4. Verify API key source: plugins.entries.xai.config.webSearch.apiKey or XAI_API_KEY.

Quick verification

Commands
openclaw doctor --fix
openclaw doctor
openclaw gateway restart

If search fails after migration, review Troubleshooting and xAI provider setup.