# get_doc_text (https://sellersheetai.com/docs/mcp-api/tools/get_doc_text)

> Extract the plain text of the document body, table cells included (headers and footers are not).

Access: **READ** · toolset google_workspace · family null

Offsets in `text` are not document indices — use find_doc_text or get_doc for those.

## Call it

MCP tool call:

```json
{
  "name": "get_doc_text",
  "arguments": {
    "documentId": "<documentId>"
  }
}
```

Tool API (early access — contact us):

```bash
curl -X POST https://api.sellersheetai.com/api/v1/tools/get_doc_text \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"documentId":"<documentId>"}'
```

## Arguments

| Name | Type | Required | Description |
|---|---|---|---|
| `documentId` | string | yes | the Google Docs document ID. |

## Result

- { text: str, length: int }