Update scope on Google.ListDocuments (#264)

Updating the scope on this unreleased tool to be more granular.
This commit is contained in:
Nate Barbettini 2025-02-20 21:36:46 -08:00 committed by GitHub
parent 668e92934e
commit 62173da343
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ from .models import Corpora, OrderBy
# string as input with the syntax defined here: https://developers.google.com/drive/api/guides/search-files
@tool(
requires_auth=Google(
scopes=["https://www.googleapis.com/auth/drive.readonly"],
scopes=["https://www.googleapis.com/auth/drive.file"],
)
)
async def list_documents(