opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat(tool): add tool_search for dynamic tool discovery

Open sandipwane opened this issue 1 day ago • 2 comments

Adds a new tool_search tool that allows the LLM to search for available tools by name or description using regex patterns. This is the first step toward reducing context window usage when many tools are available.

Relates to #2418

What does this PR do?

How did you verify your code works?

sandipwane avatar Jan 14 '26 22:01 sandipwane