> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Duplicate Slide

> Creates copies of existing slides within Google Slides presentations

Creates copies of existing slides within Google Slides presentations

|                      |                          |
| -------------------- | ------------------------ |
| **App**              | Google Slides            |
| **Operation ID**     | `slides_duplicate_slide` |
| **Type**             | Action                   |
| **Connection**       | `drive` (optional)       |
| **Credits per run**  | 1                        |
| **Agent / MCP tool** | Yes                      |

## Inputs

| Field                | Type                       | Required | Default | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| -------------------- | -------------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `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 to duplicate. 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 is recommended for most use cases** as it's easier to work with. Slide IDs are unique identifiers that don't change but are harder to determine.                                                                                                               |
| `slide_number`       | integer                    | No       | -       | Number of the slide to duplicate (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 to duplicate. 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.                                                                                                                                          |
| `insertion_position` | string or SelectableOption | Yes      | -       | Where to place the duplicated slide in the presentation. Available options: 'after\_original' - Place the duplicate immediately after the original slide (DEFAULT) 'at\_beginning' - Place the duplicate as the first slide in the presentation 'at\_end' - Place the duplicate as the last slide in the presentation 'custom\_position' - Place the duplicate at a specific position (requires custom\_position field)  **'After original slide' is recommended** as it keeps related slides together. |
| `custom_position`    | integer                    | No       | -       | Position where to insert the duplicated 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.                                                |

### SelectableOption

| Field   | Type   | Required | Default | Description |
| ------- | ------ | -------- | ------- | ----------- |
| `value` | string | Yes      | -       |             |
| `label` | string | Yes      | -       |             |

## Output

**Type**: `Dict`

Returns duplicated slide details.

**Fields**: `slide_id`, `slide_number`, `presentation_id`
