Make builtin tools opt-in (ask_user)#1557
Draft
dobesv wants to merge 4 commits intokagent-dev:mainfrom
Draft
Conversation
Add an opt-in mechanism for built-in tools. Currently ask_user is the only tool that can be enabled using this feature. This changes things so that ask_user will be disabled by default, which is probably good because ask_user can cause problems for agents that are not running within the kagent UI or which are sub-agents. Signed-off-by: Dobes Vandermeer <dobes.vandermeer@newsela.com>
3 tasks
dobesv
commented
Mar 27, 2026
Signed-off-by: Dobes Vandermeer <dobesv@gmail.com>
Signed-off-by: Dobes Vandermeer <dobes.vandermeer@newsela.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add an opt-in mechanism for built-in tools. Currently ask_user is the only tool that can be enabled using this feature.
This changes things so that ask_user will be disabled by default, which is probably good because ask_user can cause problems for agents that are not running within the kagent UI or which are sub-agents.
Fixes #1554