How do I completely disable the question tool? #9458

Open
opened 2026-02-16 18:12:29 -05:00 by yindo · 1 comment
Owner

Originally created by @skerit on GitHub (Feb 16, 2026).

Originally assigned to: @thdxr on GitHub.

Question

I've seen people mention it can be "disabled" by denying it in the permissions section in the global opencode.json file:

{
  "permission": {
    "question": "deny"
  }
}

But that is NOT disabling it, because when you want to give an agent all permissions like so:

{
  "permission": {
    "*": {
      "*": "allow",
    }
  }
}

Now the question tool will once again be allowed to be used.

But I want it gone forever. Everywhere.

Originally created by @skerit on GitHub (Feb 16, 2026). Originally assigned to: @thdxr on GitHub. ### Question I've seen people mention it can be "disabled" by denying it in the permissions section in the global opencode.json file: ```json { "permission": { "question": "deny" } } ``` But that is NOT disabling it, because when you want to give an agent _all_ permissions like so: ```json { "permission": { "*": { "*": "allow", } } } ``` Now the question tool will once again be allowed to be used. But I want it gone forever. Everywhere.
Author
Owner

@github-actions[bot] commented on GitHub (Feb 16, 2026):

This issue might be a duplicate of or related to existing feature requests:

  • #9386: Request for --tools command-line flag to specify which tools can be used
  • #9379: Similar issue about tools still being called despite permission denial
  • #13564: Feature request to disable ALL MCPs at once

These issues highlight a broader need for more granular and reliable tool disabling mechanisms in OpenCode.

@github-actions[bot] commented on GitHub (Feb 16, 2026): This issue might be a duplicate of or related to existing feature requests: - #9386: Request for `--tools` command-line flag to specify which tools can be used - #9379: Similar issue about tools still being called despite permission denial - #13564: Feature request to disable ALL MCPs at once These issues highlight a broader need for more granular and reliable tool disabling mechanisms in OpenCode.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9458