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

> Update document-level properties: margins, page size, background.

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

## Call it

MCP tool call:

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

Tool API (early access — contact us):

```bash
curl -X POST https://api.sellersheetai.com/api/v1/tools/update_doc_document_style \
  -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. |
| `marginTopPt` | number |  | Page margins. |
| `marginBottomPt` | number |  | Page margins. |
| `marginLeftPt` | number |  | Page margins. |
| `marginRightPt` | number |  | Page margins. |
| `pageWidthPt` | number |  | Page dimensions. |
| `pageHeightPt` | number |  | Page dimensions. |
| `backgroundColor` | object[] |  | RGB list 0.0–1.0 for the page background. |
| `useEvenPageHeaderFooter` | boolean |  | Different header/footer on even pages. |
| `useFirstPageHeaderFooter` | boolean |  | Different header/footer on first page. |

## Result

- { styled: true }

## Gotchas

- Common page sizes in points: US Letter     612 x 792    (default) A4            595 x 842 Legal         612 x 1008 Tabloid       792 x 1224 Common margins (points): 72 = 1", 54 = 0.75", 36 = 0.5".