Codex 0.92.0: web_search tool defined even when web search is disabled.
Resolved 💬 2 comments Opened Jan 28, 2026 by dmahurin Closed Jan 29, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.92.0
What subscription do you have?
n/a
Which model were you using?
n/a
What platform is your computer?
MacOS
What terminal emulator and version are you using (if applicable)?
codex-cli 0.92.0
What issue are you seeing?
When running with web search disabled:
(codex --disable web_search_request --disable web_search_cached --disable web_search ...)
web_search is still set as a tool.
POST /v1/responses
...
["tools":
...
{"type":"function","name":"apply_patch",...},
{"type":"web_search","external_web_access":false},
{"type":"function","name":"view_image",...},
...]
This did not occur with 0.91.0 or 0.92.0-alpha9. Occurs with 0.92.0-alpha10 and 0.92.0.
Is this intended behavior?
Perhaps related changes:
PR#9249
#10097
What steps can reproduce the bug?
codex --disable web_search_request --disable web_search_cached --disable web_search ...
What is the expected behavior?
no web_search tool when web search disabled.
Additional information
_No response_
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
see #10071; those flags are being deprecated. using
-c web_search="disabled"should work.