refactor: Add GetParameters() to Tools interface (#2374)

As a first part to refactor the `ParseParam()` method of the Tool
interface.
This commit is contained in:
Wenxin Du
2026-01-27 17:27:11 -05:00
committed by GitHub
parent cdc4d0d304
commit cf477b529a
186 changed files with 746 additions and 1 deletions

View File

@@ -180,3 +180,7 @@ func (t Tool) RequiresClientAuthorization(resourceMgr tools.SourceProvider) (boo
func (t Tool) GetAuthTokenHeaderName(resourceMgr tools.SourceProvider) (string, error) {
return "Authorization", nil
}
func (t Tool) GetParameters() parameters.Parameters {
return t.AllParams
}