update_doc_paragraph_style
Apply paragraph-level style to a range.
writeGoogle Sheets, Docs & Drive
Call it
In an AI client (MCP)
{
"name": "update_doc_paragraph_style",
"arguments": {
"documentId": "<documentId>",
"startIndex": 1,
"endIndex": 1
}
}From code (Tool API)
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}'Early access — the Tool API is open on request, contact us.
Arguments
| Name | Type | Description |
|---|---|---|
documentIdrequired | string | the Google Docs document ID. |
startIndexrequired | integer | Range start (inclusive). |
endIndexrequired | integer | 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
Every tool answers {notification, data, human_action}; data carries:
- { styled: true }