Skip to content

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

@BeliveLove

Description

@BeliveLove

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions