### Description 标题: 工具调用参数始终报 SchemaError: Missing key(bash/write/webfetch) 环境: OS: Windows / PowerShell 5.1 模型: cfb196c954ab449caeab5a5a827af57d(网关转发模型) 现象: 对话早期 {"command": "echo test"} 成功过一次,之后所有工具调用全部失败,无论: {"command": "xxx"} → SchemaError: Missing key at ["command"] {filePath, content} → SchemaError: Missing key at ["content"] {"url": "..."} → SchemaError: Missing key at ["url"] 根因推测: 模型经网关/代理转发后,tool-call 的参数 JSON 被二次包装(双重编码或 key 被吞),schema 校验时拿到的是空对象或错位结构。 相关已有 issue: #24604、#29142、#29518、#29076、#35105、#29940 建议排查: 网关转发层是否改变了 tool-call 参数结构(如 {"arguments": {...}} 包裹或 snake_case 转换) 校验前日志是否打印了实际收到的 payload ### Plugins _No response_ ### OpenCode version OpenCode Desktop v1.18.30 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System windows 10 ### Terminal windows terminal
Activity
thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊