r/CodexAutomation • u/anonomotorious • 17d ago
News & Releases Codex CLI 0.167.2 enables incremental tool declarations by default on Google Cloud Vertex AI
TL;DR
Codex CLI 0.167.2 enables incremental tool declarations by default for regular Responses requests on Google Cloud Vertex AI. The stable release adds a separate Google Cloud feature flag, so operators can opt out without changing the independently controlled Amazon Bedrock behavior.
What changed
Instead of putting the full tool catalog in the top-level tools array on each request, the incremental path sends declarations through additional_tools inputs. OpenAI's implementation describes appending catalog updates to conversation history, including for tool search and namespaced tools. This matters to Vertex-backed workflows whose available tools change during a session.
The new incremental_tools_legacy_gcp flag is enabled by default for regular GCP Responses. The separate incremental_tools_legacy flag for Amazon Bedrock remains disabled by default. This is distinct from the Responses Lite incremental_tools setting.
What operators should check
If you use the affected Vertex provider, evaluate representative workflows after upgrading, especially tool additions, removals and resumed or compacted conversations. The release notes do not promise a particular latency or cost improvement, and we have not independently tested the change.
To opt out, add this to your Codex config.toml:
[features]
incremental_tools_legacy_gcp = false
For an npm installation, OpenAI lists npm install -g @openai/codex@0.167.2. For other installation methods, use their normal update process and verify the installed version. GitHub labels 0.167.2 as the latest stable release; the higher-numbered alpha builds are prereleases.