-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
Description
Description
Custom Tool Example section references files with tools as the subfolder inside .opencode. I believe this is incorrect as I was trying to create a custom tool and keep getting Failed with exit code 2.
I happen to stumble onto this Repository which clearly indicates that the correct folder path is .opencode/tool instead of .opencode/tools.
Current
Documentation mentions these paths in the examples:
.opencode/tools/add.py
.opencode/tools/python-add.ts
Expected
I believe these should be adjusted to below
.opencode/tool/add.py
.opencode/tool/python-add.ts
Plugins
No response
OpenCode version
1.3.0
Steps to reproduce
No response
Screenshot and/or share link
Operating System
Ubuntu 24.04
Terminal
Kitty
Reactions are currently unavailable