Skip to content

refactor(tools): add ScopesRequired to Tool config and interface#3048

Open
duwenxin99 wants to merge 2 commits intomainfrom
feat/refactor-tool-interface
Open

refactor(tools): add ScopesRequired to Tool config and interface#3048
duwenxin99 wants to merge 2 commits intomainfrom
feat/refactor-tool-interface

Conversation

@duwenxin99
Copy link
Copy Markdown
Contributor

Refactor Tool config and interfacor to enable MCP tool-level auth

@duwenxin99 duwenxin99 requested review from a team as code owners April 13, 2026 22:43
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a GetScopesRequired method to the Tool interface and implements it across all database tools by adding a ScopesRequired field to their configurations. Feedback highlights redundant field declarations in the serverlessspark tools due to struct embedding and an inconsistent method receiver type in serverlesssparkcancelbatch.

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.

2 participants