presentation | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. |
identifier_type | string or SelectableOption | Yes | - | Method to identify the slide where the text will be inserted. Available options: ‘slide_number’ - Identify slide by its position in the presentation (1-based indexing) ‘slide_id’ - Identify slide by its unique Google Slides object ID |
slide_number | integer | No | - | Number of the slide where the text will be inserted (1-based indexing, starting from 1). REQUIRED when identifier_type is ‘slide_number’. MUST BE NULL/EMPTY when identifier_type is ‘slide_id’ - clear this field if identifier_type changes to ‘slide_id’. Must be a positive integer. Example: 1 for first slide, 2 for second slide, etc. |
slide_id | string | No | - | Unique Google Slides object ID of the slide where the text will be inserted. REQUIRED when identifier_type is ‘slide_id’. MUST BE NULL/EMPTY when identifier_type is ‘slide_number’ - clear this field if identifier_type changes to ‘slide_number’. Example format: ‘g1a82910c99_0_0’ You can find slide IDs in the Google Slides API or by inspecting the presentation. |
text | string | Yes | - | The text content to insert into the slide. Can include line breaks and special characters. Supports markdown formatting. The only supported formats are: - bold for bold text - italic for italic text - [link text](url) for clickable links Example: ‘Hello World!’ or ‘Visit [Google](https://google.com)‘ |
position_x | number | No | 100 | X coordinate for the text box position in points (PT). Default is 100. Origin (0,0) is at the top-left corner of the slide. Example: 150 for positioning 150 points from the left edge. |
position_y | number | No | 100 | Y coordinate for the text box position in points (PT). Default is 100. Origin (0,0) is at the top-left corner of the slide. Example: 200 for positioning 200 points from the top edge. |
width | number | No | 400 | Width of the text box in points (PT). Default is 400. Must be a positive number. Example: 300 for a text box 300 points wide. |
height | number | No | 100 | Height of the text box in points (PT). Default is 100. Must be a positive number. Example: 150 for a text box 150 points tall. |
alt_text | string | No | - | Optional alternative text for the text box. This can be used later to identify and update the text using other operations like ‘slides_replace_text’. Example: ‘clicks’ or ‘summary_content’ |