Skip to content

feat: Support adding prefix to tool names returned by toolset #2400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 12, 2025

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Aug 7, 2025

feat: Support adding prefix to tool names returned by toolset

This is to address the name conflict issue of tools returned by different toolset. Mainly it's to give each toolset a namespace.

We have a flag add_tool_name_prefix to decide whether to apply this behavior
We have a tool_name_prefix to let client specify a custom prefix, if not set , toolset name will be used as prefix.

@copybara-service copybara-service bot added the google-contributor [Bot] This PR is created by Google label Aug 7, 2025
@copybara-service copybara-service bot force-pushed the copybara/791983427 branch 5 times, most recently from 805cf0c to ff779eb Compare August 12, 2025 23:14
This is to address the name conflict issue of tools returned by different toolset. Mainly it's to give each toolset a namespace.

We have a flag `add_tool_name_prefix` to decide whether to apply this behavior
We have a `tool_name_prefix` to let client specify a custom prefix, if not set , toolset name will be used as prefix.

PiperOrigin-RevId: 794306796
@copybara-service copybara-service bot merged commit ebd726f into main Aug 12, 2025
@copybara-service copybara-service bot deleted the copybara/791983427 branch August 12, 2025 23:17
@ziyanli33
Copy link

make it also available in MCPToolset pls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
google-contributor [Bot] This PR is created by Google
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants