Skip to content

codex-cli sends tools[0] with empty description to Azure Responses API — 400 invalid_request_error (works fine in ChatGPT desktop app with same config) #37692

Description

@SUMANKC7

What version of Codex CLI is running?

0.147.0

What subscription do you have?

Azure OpenAI

Which model were you using?

gpt-5.6-sol

What platform is your computer?

macOS

What terminal emulator and version are you using (if applicable)?

Default mac Environment (zsh)

Codex doctor report

What issue are you seeing?

I get this issue while trying to run codex-cli, the ChatGPT desktop app works perfectly fine with the current config.toml, Here is the error message that I get when I send a message in codex-cli

{ "error": { "message": "Invalid 'input[0].tools[0].description': empty string. Expected a string with minimum length 1, but got an empty string instead.", "type": "invalid_request_error", "param": "input[0].tools[0].description", "code": "empty_string" } }

What steps can reproduce the bug?

Installing codex-cli-0.147.0 and setting up Azure OpenAI model for gpt-5.6 series model.

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIazureIssues related to the Azure-hosted OpenAI modelsbugSomething isn't workingtool-callsIssues related to tool calling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions