format_slides_text
Apply character formatting (bold, italic, font, color) to selected text within a slide element. Specify start and end indices for precise inline styling.
Instructions
Apply character-level formatting to text inside a slide element.
Use this for inline styling (bold, italic, font, color); use format_slides_paragraph for alignment/spacing/bullets, and style_slides_shape for the shape outline/fill/shadow. For bulk re-style across every text element use format_all_slides_text. Requires the presentations OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | The user's Google email address (authenticated account). | |
| presentation_id | Yes | Parent presentation ID (from the URL after /d/). | |
| page_element_id | Yes | objectId of the text-bearing element (text box, shape, or placeholder) — get from get_presentation or get_page. | |
| bold | No | True to bold, False to unbold, None to leave unchanged. | |
| italic | No | Same semantics as bold for italic. | |
| underline | No | Same semantics as bold for underline. | |
| strikethrough | No | Same semantics as bold for strikethrough. | |
| font_family | No | Font family name, e.g. "Arial", "Roboto", "Helvetica Neue". | |
| font_size | No | Font size in points, e.g. 14 or 24.5. | |
| text_color | No | Hex color like "#FF0000" or "#333333". | |
| start_index | No | 0-based character offset where formatting begins. Omit both indices to format ALL text in the element. | |
| end_index | No | 0-based character offset (exclusive) where formatting ends. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |