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

> Get the full Docs API document resource (body, headers, styles, revisionId).

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

Use this when you need to map characters to indices — read body.content[*].startIndex/endIndex to find where a paragraph or text run begins. For plain text only, use get_doc_text instead.

## Call it

MCP tool call:

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

Tool API (early access — contact us):

```bash
curl -X POST https://api.sellersheetai.com/api/v1/tools/get_doc \
  -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

- The Docs API document resource (structural).