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

> Apply paragraph-level style to a range.

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

## Call it

MCP tool call:

```json
{
  "name": "update_doc_paragraph_style",
  "arguments": {
    "documentId": "<documentId>",
    "startIndex": 1,
    "endIndex": 1
  }
}
```

Tool API (early access — contact us):

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

## Arguments

| Name | Type | Required | Description |
|---|---|---|---|
| `documentId` | string | yes | the Google Docs document ID. |
| `startIndex` | integer | yes | Range start (inclusive). |
| `endIndex` | integer | yes | Range end (exclusive). |
| `namedStyleType` | string |  | NORMAL_TEXT, TITLE, SUBTITLE, HEADING_1..HEADING_6. |
| `alignment` | string |  | START, CENTER, END, JUSTIFIED. |
| `lineSpacing` | number |  | Percentage — 100 = single, 150 = 1.5x, 200 = double. |
| `indentStartPt` | number |  | Left indent in points. |
| `indentEndPt` | number |  | Right indent in points. |
| `indentFirstLinePt` | number |  | First-line indent (pt). Useful for indented prose. |
| `spaceAbovePt` | number |  | Vertical space above paragraph (pt). |
| `spaceBelowPt` | number |  | Vertical space below paragraph (pt). |
| `keepWithNext` | boolean |  | If True, keep with next paragraph on same page. |

## Result

- { styled: true }