opencode
opencode copied to clipboard
feat(hook): add tool.definition hook for plugins to modify tool description and parameters
- Allows for modification of tool description (great to try and find better tool descriptions)
- Allows changing tool parameters (for example removing limit and offset from read tool)