[GH-ISSUE #782] Codex got error "input items of type 'additional_tools' are not supported" #355

Closed
opened 2026-11-04 01:42:15 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @Anivie on GitHub (Oct 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/782

{"error": {"message": "input items of type 'additional_tools' are not supported", "type": "invalid_request_error", "param": "input[0].type", "code": "unsupported_parameter"}}

I received this error when using Codex to test the latest version of supported ResponseAPI, version number is v0.160.0
This issue occurs without modifying the default model (i.e., using the default GPT-6 series model)

Originally created by @Anivie on GitHub (Oct 4, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/782 > {"error": {"message": "input items of type 'additional_tools' are not supported", "type": "invalid_request_error", "param": "input[0].type", "code": "unsupported_parameter"}} I received this error when using Codex to test the latest version of supported ResponseAPI, version number is v0.160.0 This issue occurs without modifying the default model (i.e., using the default GPT-6 series model)
Author
Owner

@hys17 commented on GitHub (Oct 6, 2026):

Similar issue here on Xcode with using Strata as an Agent.

Every new prompt, it'd say:
"The Xcode tool bridge is erroring out, so I'll read the file from disk instead."

Right now, I'm using an Agent.md as a workaround but it'd be great to be able to call the additional_tools as well.

Here's Claude's report since I'm a total noob:

_Title: Codex (Xcode) fails: input items of type 'additional_tools' are not supported

Setup: Xcode's bundled Codex agent → Strata on Windows (RTX 3090), model qwen3.8-flash-next-iq3_s, wire_api Responses via /v1.

What happens: Codex's Guardian Review request (sent before each MCP tool call) includes an input item {"type": "additional_tools", "role": "developer", "tools": [...]}. Strata returns: input items of type 'additional_tools' are not supported. The tool call then fails, and the model falls back to shell commands.

Suggested fix: Accept additional_tools items in input and merge their tools into the request's tool list (or ignore the item if that's not possible)._

Thanks so much.

<!-- gh-comment-id:6018117872 --> @hys17 commented on GitHub (Oct 6, 2026): Similar issue here on Xcode with using Strata as an Agent. Every new prompt, it'd say: _"The Xcode tool bridge is erroring out, so I'll read the file from disk instead."_ Right now, I'm using an Agent.md as a workaround but it'd be great to be able to call the additional_tools as well. Here's Claude's report since I'm a total noob: _Title: Codex (Xcode) fails: input items of type 'additional_tools' are not supported Setup: Xcode's bundled Codex agent → Strata on Windows (RTX 3090), model qwen3.8-flash-next-iq3_s, wire_api Responses via /v1. What happens: Codex's Guardian Review request (sent before each MCP tool call) includes an input item {"type": "additional_tools", "role": "developer", "tools": [...]}. Strata returns: input items of type 'additional_tools' are not supported. The tool call then fails, and the model falls back to shell commands. Suggested fix: Accept additional_tools items in input and merge their tools into the request's tool list (or ignore the item if that's not possible)._ Thanks so much.
Author
Owner

@Niko1221 commented on GitHub (Oct 6, 2026):

Thanks for the follow-up and the details. We're working on the Codex review case: a request that combines text.format (json_schema) with tools currently gets a 400. Expect the fix in the next 3-4 days.

<!-- gh-comment-id:6026979731 --> @Niko1221 commented on GitHub (Oct 6, 2026): Thanks for the follow-up and the details. We're working on the Codex review case: a request that combines `text.format` (json_schema) with tools currently gets a 400. Expect the fix in the next 3-4 days.
Author
Owner

@Niko1221 commented on GitHub (Oct 7, 2026):

Fixed in 0.1.40.2. /v1/responses now accepts Codex's additional_tools input item (its tools array is added to the request's tools) and a JSON text.format together with tools. A tool call passes through as before, and the schema is checked on the turn that ends in text, the same way json_schema works without tools. Please retest Codex's review request on 0.1.40.2, and tell us if a Codex version sends additional_tools in another shape.

<!-- gh-comment-id:6037794782 --> @Niko1221 commented on GitHub (Oct 7, 2026): Fixed in 0.1.40.2. /v1/responses now accepts Codex's additional_tools input item (its tools array is added to the request's tools) and a JSON text.format together with tools. A tool call passes through as before, and the schema is checked on the turn that ends in text, the same way json_schema works without tools. Please retest Codex's review request on 0.1.40.2, and tell us if a Codex version sends additional_tools in another shape.
Author
Owner

@hys17 commented on GitHub (Oct 7, 2026):

Fixed in 0.1.40.2. /v1/responses now accepts Codex's additional_tools input item (its tools array is added to the request's tools) and a JSON text.format together with tools. A tool call passes through as before, and the schema is checked on the turn that ends in text, the same way json_schema works without tools. Please retest Codex's review request on 0.1.40.2, and tell us if a Codex version sends additional_tools in another shape.

@Niko1221
OMG this is lightning speed!

Just a quick test tells me that things have improved A LOT already. A simple prompt in Xcode like "back up the current code first. Then debug and optimize" straight up asking for permissions which it did not before, which would constrain everything in the sandbox (which to my knowledge has a lot of limitations).

Will do more testing and confirm later, but just wanted to share my excitement!

Thanks so much.

<!-- gh-comment-id:6043959430 --> @hys17 commented on GitHub (Oct 7, 2026): > Fixed in 0.1.40.2. /v1/responses now accepts Codex's additional_tools input item (its tools array is added to the request's tools) and a JSON text.format together with tools. A tool call passes through as before, and the schema is checked on the turn that ends in text, the same way json_schema works without tools. Please retest Codex's review request on 0.1.40.2, and tell us if a Codex version sends additional_tools in another shape. @Niko1221 OMG this is lightning speed! Just a quick test tells me that things have improved A LOT already. A simple prompt in Xcode like "back up the current code first. Then debug and optimize" straight up asking for permissions which it did not before, which would constrain everything in the sandbox (which to my knowledge has a lot of limitations). Will do more testing and confirm later, but just wanted to share my excitement! Thanks so much.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#355
No description provided.