Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dingfeli
Copy link
Contributor

@dingfeli dingfeli commented Oct 17, 2025

Issue #, if available:

Description of changes:
As titled.

This allows us to specify only the builtin tools in allowTools as such:

  "allowedTools": [
    "@builtin"
  ],

I had also made the relevant util function to operate on reference instead to save some allocations.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@dingfeli dingfeli force-pushed the dingfeli/builtin-tool-permission-ns branch from 392dbf3 to 1953360 Compare October 17, 2025 19:20
@dingfeli dingfeli force-pushed the dingfeli/builtin-tool-permission-ns branch from 1953360 to db28d01 Compare October 17, 2025 19:26
@evanliu048 evanliu048 merged commit 920a36d into main Oct 22, 2025
15 checks passed
@evanliu048 evanliu048 deleted the dingfeli/builtin-tool-permission-ns branch October 22, 2025 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants