Skip to content

[BUG] OpenCode's question not working with OpenCoder/OpenAgent #268

@koitococo

Description

@koitococo

Description

OpenCode has a builtin tools called question, used to ask user to make decisions. The tool is visible in OpenCode's builtin agents (i.e. Build), but invisible in OAC's agents (i.e. OpenCoder, OpenAgent).

Steps to Reproduce

  1. Install profile: develop
  2. Run command: ask agent "give me a full list of tools you have"
  3. See error: agent responds with a detailed tool list, but question tool is missing in OpenCoder's response, while question tool is presented in OpenCode builtin agent's response.

Expected Behavior

question tool shoule be visible to agent.

Actual Behavior

question tool is invisible to agent, and agent cannot use this tool to ask question.

Environment

  • OS: [Ubuntu 25.10]
  • OpenCode CLI version: 1.2.25
  • Installation profile: developer
  • Bash version: 5.2.37

Additional Context

packages/compatibility-layer/src/types.ts has a ToolAccessSchema in line 11, but this schema has only a subset of OpenCode builtin tools.
I have tested in many models including kimi-k2.5, glm-5, gpt-5.4, and same results as above.

Possible Solution (Optional)

Add question tool to schema

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions