format_slides_paragraph
Apply paragraph alignment, line spacing, spacing above/below, and bullet lists to text in a Google Slide shape, text box, or table cell.
Instructions
Apply paragraph-level formatting (alignment, spacing, bullets) to text inside a shape, text box, or table cell on a Google Slide.
Use this for paragraph concerns — alignment, line spacing, space above/below,
bullet lists. For character-level styling (bold, font size, color), use
format_slides_text instead. For styling the shape itself (fill, outline,
shadow), use style_slides_shape.
Requires OAuth scope: https://www.googleapis.com/auth/presentations (write).
Idempotent: re-running with the same values is safe. No rate limits beyond
Google Slides API defaults (~300 req/min per user).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| presentation_id | Yes | Google Slides presentation ID (from the URL after `/d/`). | |
| page_element_id | Yes | Object ID of the target shape/text box/table cell. Get it from `get_presentation` or `get_page`. Must be a text-bearing element; passing an image element will return a no-op error. | |
| alignment | No | Paragraph horizontal alignment. One of `START` (left), `CENTER`, `END` (right), `JUSTIFIED`. Omit to leave unchanged. | |
| line_spacing | No | Line spacing as percentage — `100.0` = single-spaced, `115.0` = 1.15x (Google Docs default), `150.0` = 1.5x, `200.0` = double. Omit to leave unchanged. | |
| space_above | No | Points of space above each paragraph (e.g., `12` for ~12pt gap). Omit to leave unchanged. | |
| space_below | No | Points of space below each paragraph. Omit to leave unchanged. | |
| bullet_preset | No | Bullet list preset name from the Google Slides API, e.g., `BULLET_DISC_CIRCLE_SQUARE`, `BULLET_DIAMONDX_ARROW3D_SQUARE`, `NUMBERED_DIGIT_ALPHA_ROMAN`, `NUMBERED_UPPERALPHA_ALPHA_ROMAN`. Pass `NONE` (uppercase) to REMOVE existing bullets. Omit to leave bullet state unchanged. | |
| start_index | No | Optional 0-based character offset within the element's text where formatting starts. When both start/end are omitted, formatting applies to ALL paragraphs in the element. | |
| end_index | No | Optional 0-based character offset (exclusive) where formatting ends. Must be greater than start_index if both provided. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |