This document describes how you can use the @googledocs
command in
Gemini Code Assist to read, summarize, and list your Google Docs
assets, like documents and folders, directly from your IDE (integrated
development environment).
The Gemini Code Assist Google Docs tool is available as part of Gemini Code Assist Standard and Enterprise edition.
Before you begin
The first two steps must be done by an administrator, and the third step can be completed by individual developers.
- Install Gemini Code Assist for Standard and Enterprise.
- Enable the Google Docs tool for users by following the steps in Enable Gemini Code Assist tools.
- Install Google Docs in your IDE by following the steps in Configure Gemini Code Assist tools.
Read a document
The Google Docs tool in Gemini Code Assist can return the full contents of a document so you can read it directly from your IDE.
In your IDE, navigate to the Gemini Code Assist chat and enter the following prompt:
@googledocs read
MY_DOC Replace MY_DOC with the title of the document you want to read.
Summarize a document
The Google Docs tool in Gemini Code Assist can summarize Google Docs for you directly from your IDE.
In your IDE, navigate to the Gemini Code Assist chat chat and enter the following prompt:
@googledocs summarize
MY_DOC Replace MY_DOC with the title of the document you want summarized.
List documents
The Google Docs tool in Gemini Code Assist can list documents with a variety of modifiers, like recently viewed docs, docs shared with you, or docs you created. These are just a few ways The tool can list documents. Try asking it to list, group, or sort documents however best supports your work.
In your IDE, navigate to the Gemini Code Assist chat chat and enter one of the following prompts:
@googledocs list recent documents @googledocs list documents shared with me @googledocs list documents created by me
Related topics
- Learn more about Gemini Code Assist tools by reading the Tools overview.