opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat(config): add `subagent_tools` to complement `primary_tools`

Open spoons-and-mirrors opened this issue 3 days ago • 3 comments

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)

spoons-and-mirrors avatar Jan 11 '26 01:01 spoons-and-mirrors