"ask user question tool" in opencode #4727

Closed
opened 2026-02-16 17:45:11 -05:00 by yindo · 4 comments
Owner

Originally created by @JCwinning on GitHub (Jan 11, 2026).

Originally assigned to: @rekram1-node on GitHub.

Question

I am new to opencode. anyone know how to add claude code "ask user question tool" in opencode ?

Image
Originally created by @JCwinning on GitHub (Jan 11, 2026). Originally assigned to: @rekram1-node on GitHub. ### Question I am new to opencode. anyone know how to add claude code "ask user question tool" in opencode ? <img width="1263" height="562" alt="Image" src="https://github.com/user-attachments/assets/bf245318-6731-4be9-b925-ca8dda25ef25" />
yindo closed this issue 2026-02-16 17:45:11 -05:00
Author
Owner

@arsham commented on GitHub (Jan 11, 2026):

It already exists. The tool is called "question".

@arsham commented on GitHub (Jan 11, 2026): It already exists. The tool is called "question".
Author
Owner

@github-actions[bot] commented on GitHub (Jan 11, 2026):

This issue might be a duplicate of or related to existing issues. Please check:

  • #3844: Plan mode questions like claude code - Requests the ability to have questions in plan mode similar to Claude Code
  • #7572: Improve UX of question tool multi-select - Discusses improvements to the existing question tool
  • #5199: Add output-style feature similar to Claude Code - Broader request for Claude Code features

OpenCode already has a question tool available. If you're looking to use it, the question tool is built-in and can be triggered by the LLM during its responses. If you're looking to replicate Claude Code's plan mode questions specifically, that's covered in issue #3844.

Feel free to ignore if these don't address your specific case.

@github-actions[bot] commented on GitHub (Jan 11, 2026): This issue might be a duplicate of or related to existing issues. Please check: - #3844: Plan mode questions like claude code - Requests the ability to have questions in plan mode similar to Claude Code - #7572: Improve UX of question tool multi-select - Discusses improvements to the existing question tool - #5199: Add output-style feature similar to Claude Code - Broader request for Claude Code features OpenCode already has a question tool available. If you're looking to use it, the question tool is built-in and can be triggered by the LLM during its responses. If you're looking to replicate Claude Code's plan mode questions specifically, that's covered in issue #3844. Feel free to ignore if these don't address your specific case.
Author
Owner

@JCwinning commented on GitHub (Jan 11, 2026):

Closing the issue. there is a same tool available at opencode. I can trigger it using something like
"use question tool to ask me question for more detail first"

@JCwinning commented on GitHub (Jan 11, 2026): Closing the issue. there is a same tool available at opencode. I can trigger it using something like "use question tool to ask me question for more detail first"
Author
Owner

@haoliangwu commented on GitHub (Feb 11, 2026):

although this issue is close, but I would like share my experience for others met this similar issue.

besides you should mention use question tool in prompt, please also set question: true if you are using agent like:

tools:
  write: false
  edit: false
  question: true

I fix my issue in this way.

Image
@haoliangwu commented on GitHub (Feb 11, 2026): although this issue is close, but I would like share my experience for others met this similar issue. besides you should mention `use question tool` in prompt, please also set `question: true` if you are using agent like: ``` tools: write: false edit: false question: true ``` I fix my issue in this way. <img width="1059" height="771" alt="Image" src="https://github.com/user-attachments/assets/22fe98b1-4b39-454c-a52e-e27c23d4f38d" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4727