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]: Ability to override tool prompts - create model toolsets #5728
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
I want to have the ability to configure the tool prompts and override them. The problem I am trying to solve is that the prompt for the tool skews the AI model's usage of other tools.
For example, I have a tool raggrep that does semantic search. But because of the way that the grep tool or bash tool are defined (e.g. to push the AI to use the grep tool over running grep via bash), the raggrep tool rarely gets executed.
Possible solutions
Solution 1: Model type as first-class citizen
Ideally, we recognize that the effectiveness of tools can be greatly dependent on the model that is using the tools. Instead of just patching over it, the whole initial system prompt + environment + tool prompts should be a first-class citizen. When the model changes, all of these should be able to change.
To support dynamic switching of toolsets in a declarative configuration might be challenging to maintain. An alternative is to add hooks that may alter a prompt, or completely override it - this would provide flexibility without the maintenance burden.
that ability makes sense to have, would say tho if u have any suggestions for how we can tweak tools for different models we would prolly be happy to bake that in first party
Activity
rekram1-node commentedon Dec 18, 2025
that ability makes sense to have, would say tho if u have any suggestions for how we can tweak tools for different models we would prolly be happy to bake that in first party