opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Format Validation Error for tools[12].name in ChatGPT 5.2 Conversations

Open BeliveLove opened this issue 4 days ago • 0 comments

Description

When using ChatGPT 5.2 for conversations, a format validation error is triggered for the tools[12].name field: Invalid 'tools[12].name': string does not match pattern. Expected a string that matches the pattern '^[a-zA-Z0-9_-]+$'. However, the same tool configuration works without errors when switching to other models (those with this validation rule disabled).

Plugins

No response

OpenCode version

No response

Steps to reproduce

Launch the ChatGPT 5.2 conversation environment. Trigger tool list initialization or tool invocation logic (e.g., send a request involving tool interactions). The system returns the format validation error above, and the conversation flow is interrupted.

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

BeliveLove avatar Jan 11 '26 10:01 BeliveLove