presentation | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. |
insertion_position | string or SelectableOption | Yes | - | Where to place the new slide in the presentation. Available options: ‘at_beginning’ - Add the slide at the beginning of the presentation ‘at_end’ - Add the slide at the end of the presentation (DEFAULT & RECOMMENDED) ‘custom_position’ - Add the slide at a specific position (requires custom_position field) |
custom_position | integer | No | - | Position where to insert the new slide (1-based indexing, starting from 1). REQUIRED when insertion_position is ‘custom_position’. MUST BE NULL/EMPTY when insertion_position is not ‘custom_position’ - clear this field if insertion_position changes. Must be a positive integer. Example: 1 for beginning, 3 for third position, etc. If the specified position exceeds the total number of slides, the slide will be placed at the end. |