automation_update tool schema is rejected by strict OpenAI-compatible providers

Open 💬 0 comments Opened Aug 21, 2026 by MyQiongbao

What happened?

Codex Desktop can fail before the model responds when a strict OpenAI-compatible provider validates the bundled automation_update tool schema.

Observed error:

Invalid schema for function 'automation_update': schema must be a JSON Schema of 'type: "object"', got 'type: "None"'

This appears related to the existing codex_app__automation_update / automation_update schema issue, where the root schema is not emitted as a normal JSON Schema object. Some providers reject it during tool/function schema validation.

Environment

  • Product: Codex Desktop
  • Local Codex web Last Version: 151.0.7922.170
  • Bundled browser plugin version observed locally: 26.818.31338
  • OS: Windows
  • Provider type: OpenAI-compatible strict provider / non-OpenAI endpoint

Expected behavior

The emitted automation_update tool schema should be accepted by strict JSON Schema validators.

At minimum, the top-level schema should be a JSON Schema object, for example:

{
  "type": "object",
  "properties": {}
}

or otherwise be normalized so strict providers do not reject it.

Actual behavior

The provider rejects the request before the model can respond because the function schema root is reported as type: "None" / type: null, rather than type: "object".

Impact

  • Requests fail immediately at schema validation time.
  • The failure blocks normal Codex usage with strict OpenAI-compatible providers.
  • Users cannot work around this from the prompt side.

Related issues

Possibly related:

  • #37786
  • #36441
  • #30132

View original on GitHub ↗