I'm trying to get x_search and code_execution working with xAI in 2026.5.2. I have the following configuration set:
"xai": {
"enabled": true,
"config": {
"webSearch": {
"apiKey": "${XAI_API_KEY}",
"baseUrl": "https://api.x.ai/v1"
},
"xSearch": {
"enabled": true,
"model": "grok-4-3",
"baseUrl": "https://api.x.ai/v1",
"inlineCitations": false,
"maxTurns": 2,
"timeoutSeconds": 30,
"cacheTtlMinutes": 15
},
"codeExecution": {
"enabled": true,
"model": "grok-4.3"
}
}
},
web_search works, x_search and code_execution are not exposed to the agents. I validated with /context detail as well. Has anyone gotten this working? My API key is valid. The provider config uses openai-responses API and has all models appropriately configured. I don't see anything in the logs.
Thanks!