Docs
Description: Enable agents to interact with Google Docs documents.
Author: Arcade
Code: GitHub
Auth: User authorization via the Google auth provider
This Toolkit is not available in Arcade Cloud. You can use these tools with a self-hosted instance of Arcade.
The Arcade 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
These tools are currently available in the Arcade Docs toolkit.
Tool Name | Description |
---|---|
GetDocumentById | Retrieve a Google Docs document by ID. Note: This tool currently requires a self-hosted instance of Arcade. |
InsertTextAtEndOfDocument | Insert text at the end of a Google Docs document. Note: This tool currently requires a self-hosted instance of Arcade. |
CreateBlankDocument | Create a new blank Google Docs document with a title. Note: This tool currently requires a self-hosted instance of Arcade. |
CreateDocumentFromText | Create a new Google Docs document with specified text content. Note: This tool currently requires a self-hosted instance of Arcade. |
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 Docs toolkit uses the Google auth provider to connect to users’ Google accounts.
With the hosted Arcade Engine, there’s nothing to configure. Your users will see Arcade
as the name of the application that’s requesting permission.
With a self-hosted installation of Arcade, you need to configure the Google auth provider with your own Google app credentials.