OpenAI rejected the request "invalid_function_parameters"
Resolved 💬 0 comments Opened Apr 22, 2025 by enricoyounglabs Closed Apr 22, 2025
What version of Codex is running?
0.1.2504220136
Which model were you using?
o4-mini
What platform is your computer?
darwin | arm64 | 24.3.0
What steps can reproduce the bug?
- ```
please read my codebase
```
0 reasoning|0 tool
What is the expected behavior?
Doing the task
What do you see instead?
system
⚠️ OpenAI rejected the request (request ID: req_c4bdfec6b9a5a23f7814a7670f07b0b5).
Error details: Status: 400, Code: invalid_function_parameters, Type:
invalid_request_error, Message: 400 Invalid schema for function 'shell': In
context=(), 'required' is required to be supplied and to be an array including every
key in properties. Missing 'workdir'.. Please verify your settings and try again.
Additional information
node v22.14.0
npm v10.9.2