Skip to content

Invalid schema for function: Codex tool schema error

Quick fix

The Codex client reports a tool schema validation error. No verifiable fix is available in the original issue yet; follow it for troubleshooting updates.

Error output
upstream_status: HTTP 400; cause: Invalid schema for function 'mcp__codex_app__automation_update': schema must have type 'object' and not have 'oneOf'/'anyOf'/'allOf'/'enum'/'const'/'not' at the top level.

The error indicates that the upstream rejected the schema for mcp__codex_app__automation_update with HTTP 400: the top-level type must be object, and the top level must not contain oneOf, anyOf, allOf, enum, const, or not. The original issue does not include the actual schema, so it is unclear which constraint was violated or which component generated the schema.

The reporter used cc-switch v3.20.0 on Windows. In the same report, the Codex extension in VSCode worked normally, while the Codex client consistently failed. Another user confirmed the same problem but provided no fix. The issue remains open, and the original post has no verifiable solution yet.

  1. The original issue has no verifiable fix yet, so it provides no basis for confirmed configuration changes or upgrade steps.

  2. Follow source issue #6918 for further troubleshooting and replies. The follow-up asking whether it has been resolved remains unanswered.

ToolCodex
Versioncc-switch v3.20.0(报告中的受影响版本)
PlatformsWindows

This page is distilled from 1 real issues

Has this been resolved?
The original issue has no verifiable fix yet. It remains open, and other users have confirmed the same problem, but no reply reports a successful fix.

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.