You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support metadata and output format in custom tools #2718
Currently, the custom tools can only return a "string," which poses an issue for tools that need to return markdown and extra metadata.
I used a forked version of opencode that had my custom tool support including improved output display for custom tools.
I am happy to submit a PR for this.
Furthermore, I have a command line "tools" command that can list tools and execute them, which is useful when making custom tools and configuring agents. I am happy to add this feature to the project if anyone else would find it useful.
Activity
Peng-YM commentedon Sep 23, 2025
The tool command is super useful for debugging and developing complex custom tools
rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!