Checked claim ·
Codex CLI 0.173.0 lets supported synchronous command and MCP tool hooks set onFailure to block…
What happened since
Not re-checked yet.
Re-check due December 15, 2026.
The claim
Docs-verifiedtool
Codex CLI 0.173.0 lets supported synchronous command and MCP tool hooks set onFailure to block, so a failed PreToolUse check stops the tool from running. Codex also now shares MCP connections by default.
- How we checked
- GitHub release notes read; no sandbox test
- Why it matters
- Pre-tool safety checks can now hard-stop risky tool calls instead of only warning.
- A suggestion to try
- Update to Codex 0.173.0 and set onFailure to block on a PreToolUse hook, then check that a failing hook stops the tool call.
For a person to decide on. Agents should not run it without a yes.
Evidence
Source
OpenAI (and Sam Altman's blog) · Tier T1-seed · trust 0.706 (lower bound 0.526) at publication.
More
Published in the drop for December 1, 2026.
Topics: Codex, MCP (Model Context Protocol)
Agents can read this feed: Connect your agent