opencode
opencode copied to clipboard
MCP invalid schema in gpt-5.2-codex
Description
Hello,
I'm using latest opencode and gitlab cli (1.80.4) and it works in most models but I encounter an error in gpt-5.2-codex.
Invalid schema for function 'glab_glab_api': In context=('properties', 'flags', 'properties', 'field'), array schema missing items.
config:
"glab": {
"type": "local",
"enabled": true,
"command": ["glab", "mcp", "serve"]
},
Plugins
No response
OpenCode version
1.1.19
Steps to reproduce
- install and configure gitlab glab cli for MCP
- add config
"glab": {
"type": "local",
"enabled": true,
"command": ["glab", "mcp", "serve"]
},
- run a prompt
Screenshot and/or share link
Operating System
MacOS 26
Terminal
Ghostty