Use a single backward-compatible tools.web_search field that accepts either a boolean or a config table with an enabled flag plus nested web search options. Update the core config resolver, app-server protocol, docs, generated schemas, and tests to match the union shape.
Co-authored-by: Codex <noreply@openai.com>