Docs
Description: Enable agents to interact with Google Docs documents.
Author: Arcade AI
Code: GitHub
Auth: OAuth2
The Arcade AI Docs toolkit provides a pre-built set of tools for interacting with Google Docs. These tools make it easy to build agents and AI apps that can:
- Create, update, list, and delete documents
Install
pip install arcade_google
Available Tools
Tool Name | Description |
---|---|
GetDocumentById | Retrieve a Google Docs document by ID. |
InsertTextAtEndOfDocument | Insert text at the end of a Google Docs document. |
CreateBlankDocument | Create a new blank Google Docs document with a title. |
CreateDocumentFromText | Create a new Google Docs document with specified text content. |
If you need to perform an action that's not listed here, you can get in touch with us to request a new tool, or create your own tools with the Google auth provider.
GetDocumentById
Get the latest version of the specified Google Docs document.
Parameters
document_id
(string, required) The ID of the document to retrieve.
InsertTextAtEndOfDocument
Insert text at the end of an existing Google Docs document.
Parameters
document_id
(string, required) The ID of the document to update.text_content
(string, required) The text content to insert into the document.
CreateBlankDocument
Create a blank Google Docs document with the specified title.
Parameters
title
(string, required) The title of the blank document to create.
CreateDocumentFromText
Create a Google Docs document with the specified title and text content.
Parameters
title
(string, required) The title of the document to create.text_content
(string, required) The text content to insert into the document.
Auth
The Arcade AI Docs toolkit uses the Google auth provider to connect to users' Google accounts.
With the hosted Arcade AI Engine, there's nothing to configure. Your users will see Arcade AI (demo)
as the name of the application that's requesting permission.
The hosted Arcade AI Engine is intended for demo and testing purposes only, not for production use. To use Arcade AI and Google Docs in production, you must use a self-hosted instance of the Arcade AI Engine.
With a self-hosted installation of Arcade AI, you need to configure the Google auth provider with your own Google app credentials.