[PR #7725] feat(config): add subagent_tools to complement primary_tools and unifies tool visibility under permission system #12493

Open
opened 2026-02-16 18:17:24 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7725

State: open
Merged: No


What does this PR do?

feat: Adds subagent_tools to the experimental config to allow specifying tools that should only be available to subagents, complementing primary_tools

refactor: moved the primary_tools filtering to the tool registry for consistency (as subagent_tools needs to be constructed at the registry level)

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7725 **State:** open **Merged:** No --- ### What does this PR do? feat: Adds `subagent_tools` to the experimental config to allow specifying tools that should only be available to subagents, complementing `primary_tools` refactor: moved the `primary_tools` filtering to the tool registry for consistency (as `subagent_tools` needs to be constructed at the registry level)
yindo added the pull-request label 2026-02-16 18:17:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12493