# Google Docs (https://sellersheetai.com/docs/mcp-api/workflows/docs)

> Create and edit Google Docs — reports, SOPs, briefs — in your SellerSheet workspace.



<Callout title="In short">
  `write_doc_structured` writes a whole document in one call — headings, paragraphs, lists, tables. The other Docs tools give your agent fine control over text, tables, images, headers, footers and styles.
</Callout>

## In your daily workflow [#in-your-daily-workflow]

<Steps>
  <Step>
    ### Create the document [#create-the-document]

    `create_doc_in_folder` creates a doc inside your workspace folder; `get_doc` and `get_doc_text` read one back.
  </Step>

  <Step>
    ### Write it in one call [#write-it-in-one-call]

    `write_doc_structured` takes a list of blocks and writes them in order — the fastest way to turn a week's numbers into a report.
  </Step>

  <Step>
    ### Edit precisely [#edit-precisely]

    `find_doc_text`, `replace_doc_text`, `insert_doc_text` and `delete_doc_range` change text; `insert_doc_table`, `set_doc_table_cell_text` and `insert_doc_image` add tables and images; `update_doc_text_style` and `update_doc_paragraph_style` style it. `doc_batch_update` is the escape hatch.
  </Step>
</Steps>

## Try asking [#try-asking]

> "Create a weekly performance report doc in my reports folder."

> "Insert a 3-column table summarising my top ASINs."

## Writing a document, both ways [#writing-a-document-both-ways]

The same tool and the same arguments — through your AI client, or from your own code.

**MCP** — you ask for the weekly report. Your agent pulls the numbers, then calls `write_doc_structured`.

<ToolCall tool="write_doc_structured" args="{ documentId: &#x22;<your document id>&#x22;, blocks: [{ type: &#x22;heading&#x22;, text: &#x22;Week 42&#x22;, level: 1 }, { type: &#x22;paragraph&#x22;, text: &#x22;Sales rose 12% week over week.&#x22; }] }" />

<Callout type="warn" title="These tools change your document">
  The write tools change the document you name — never your Amazon account. A document must be yours: owned by you, shared with your Google account, or inside your workspace.
</Callout>

## Tools on this page [#tools-on-this-page]

Pulled from the catalog at build time, each with its own access label.

<ToolList domains="[&#x22;docs&#x22;]" />

## FAQ [#faq]

### Where do the numbers come from? [#where-do-the-numbers-come-from]

From the Amazon tools and your synced reports — for example [Sales analytics](/docs/mcp-api/workflows/sales) and [Synced reports](/docs/mcp-api/workflows/reports).
