You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
execute: tools.shell unavailable inside Code Mode runtime despite being in catalog #39312
Activity
opencode-agent commentedon Jul 28, 2026
感谢报告。这里可能混淆了顶层原生工具列表和 Code Mode 自己的 catalog:在 V2 中,
shell明确注册为codemode: false,因此它只能作为顶层shell工具调用,并不会暴露为execute内的tools.shell。所以
Unknown tool 'shell'是当前的预期行为;Code Mode 只能调用其 catalog instructions 中明确列出的工具(或通过search返回的工具)。我们先关闭此 issue。