"tools" and "permissions" options seem duplicative/inconsistent #2869

Closed
opened 2026-02-16 17:37:37 -05:00 by yindo · 3 comments
Owner

Originally created by @kylerm42 on GitHub (Nov 14, 2025).

Question

Just getting started with Opencode, and am a bit confused by the tools and permissions config options. It seems like the same functionality is gated behind these two very similar options. permissions seems like the more configurable of the two, with "allow", "deny" and "ask" instead of simple true/false. However, tools seems to include things like "todowrite", "grep", "glob", etc, which aren't listed in the docs for permissions. Also of note is that tools has a write option, while permissions has edit, but they seem to cover the same thing, just different names.

Is my understanding of these config options correct? If so, should they be consolidated, ideally with the "allow", "deny", "ask" options?

Originally created by @kylerm42 on GitHub (Nov 14, 2025). ### Question Just getting started with Opencode, and am a bit confused by the `tools` and `permissions` config options. It seems like the same functionality is gated behind these two very similar options. `permissions` seems like the more configurable of the two, with "allow", "deny" and "ask" instead of simple true/false. However, `tools` seems to include things like "todowrite", "grep", "glob", etc, which aren't listed in the docs for `permissions`. Also of note is that `tools` has a `write` option, while `permissions` has `edit`, but they seem to cover the same thing, just different names. Is my understanding of these config options correct? If so, should they be consolidated, ideally with the "allow", "deny", "ask" options?
yindo closed this issue 2026-02-16 17:37:37 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 14, 2025):

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

  • #1961: Also requests unifying tools and permissions due to redundancy between these two configuration blocks

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 14, 2025): This issue might be a duplicate of existing issues. Please check: - #1961: Also requests unifying tools and permissions due to redundancy between these two configuration blocks Feel free to ignore if none of these address your specific case.
Author
Owner

@kylerm42 commented on GitHub (Nov 14, 2025):

Looks like it's already been discussed

@kylerm42 commented on GitHub (Nov 14, 2025): Looks like it's already been discussed
Author
Owner

@rekram1-node commented on GitHub (Nov 14, 2025):

@kylerm42 yeah we are addressing soon

@rekram1-node commented on GitHub (Nov 14, 2025): @kylerm42 yeah we are addressing soon
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2869