-
Notifications
You must be signed in to change notification settings - Fork 253
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
- Install profile: develop
- Run command: ask agent "give me a full list of tools you have"
- See error: agent responds with a detailed tool list, but
questiontool is missing in OpenCoder's response, whilequestiontool 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working