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
[FEATURE]: Augment custom tools with an optional install hook #4726
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
When writing a custom tool that invokes another programming language (ie python), unless the tool is trivial, often times extra python libraries are needed.
For one tool, I had to manually create a venv and then use that in the Bun.$ command. I was thinking it would be greatly beneficial to have the installation happen automatically, making custom tools much more portable and shareable.
My idea is to have the tool optionally provide an install function which gets called and installs whatever is needed in the .../plugin/<tool_name> directory. If this directory already exists, the install is a no-op.
I'd be happy to implement this feature since it is one I found the need for.
I believe it makes more sense to tie the install to the plugin (#1849) and not tool use, but your idea is well received. Having an install is definitely helpful.
Activity
github-actions commentedon Nov 25, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
mlanza commentedon Dec 5, 2025
I believe it makes more sense to tie the install to the plugin (#1849) and not tool use, but your idea is well received. Having an install is definitely helpful.