diff --git a/toolkits/google/arcade_google/tools/docs.py b/toolkits/google/arcade_google/tools/docs.py index a1596616..c46a0535 100644 --- a/toolkits/google/arcade_google/tools/docs.py +++ b/toolkits/google/arcade_google/tools/docs.py @@ -12,7 +12,7 @@ from arcade_google.utils import build_docs_service @tool( requires_auth=Google( scopes=[ - "https://www.googleapis.com/auth/documents.readonly", + "https://www.googleapis.com/auth/drive.file", ], ) ) @@ -39,7 +39,7 @@ async def get_document_by_id( @tool( requires_auth=Google( scopes=[ - "https://www.googleapis.com/auth/documents", + "https://www.googleapis.com/auth/drive.file", ], ) ) @@ -85,7 +85,7 @@ async def insert_text_at_end_of_document( @tool( requires_auth=Google( scopes=[ - "https://www.googleapis.com/auth/documents", + "https://www.googleapis.com/auth/drive.file", ], ) ) @@ -118,7 +118,7 @@ async def create_blank_document( @tool( requires_auth=Google( scopes=[ - "https://www.googleapis.com/auth/documents", + "https://www.googleapis.com/auth/drive.file", ], ) ) diff --git a/toolkits/google/arcade_google/tools/drive.py b/toolkits/google/arcade_google/tools/drive.py index c7e88b7a..7f4e1d25 100644 --- a/toolkits/google/arcade_google/tools/drive.py +++ b/toolkits/google/arcade_google/tools/drive.py @@ -205,7 +205,7 @@ async def search_documents( @tool( requires_auth=Google( - scopes=["https://www.googleapis.com/auth/drive.readonly"], + scopes=["https://www.googleapis.com/auth/drive.file"], ) ) async def search_and_retrieve_documents( diff --git a/toolkits/google/pyproject.toml b/toolkits/google/pyproject.toml index 000919bb..f24e61b8 100644 --- a/toolkits/google/pyproject.toml +++ b/toolkits/google/pyproject.toml @@ -1,12 +1,12 @@ [tool.poetry] name = "arcade_google" -version = "0.3.0" +version = "1.0.0" description = "Arcade tools for the entire google suite" authors = ["Arcade "] [tool.poetry.dependencies] python = "^3.10" -arcade-ai = ">=0.1,<2.0" +arcade-ai = ">=1.0.5,<2.0" google-api-core = "2.19.1" google-api-python-client = "2.137.0" google-auth = "2.32.0"