Read documents while coding with Gemini Code Assist

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.

  1. Install Gemini Code Assist for Standard and Enterprise.
  2. Enable the Google Docs tool for users by following the steps in Enable Gemini Code Assist tools.
  3. 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.

Summarize a document

The Google Docs tool in Gemini Code Assist can summarize Google Docs for you directly from your IDE.

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
    
  • Learn more about Gemini Code Assist tools by reading the Tools overview.