pptx_duplicate_slide
Duplicate a slide including all shapes, tables, and formatting. Place the copy after the original or at the end of the presentation.
Instructions
Copy a slide including all shapes, tables, and formatting.
USE THIS when you need multiple slides based on a template slide. Performs a full XML deep copy so tables, images, and other shapes are faithfully duplicated.
Args: file_path: Path to the .pptx file slide_number: 1-based slide number to copy position: 'after' (right after original) or 'end' output_path: Optional output path (defaults to overwriting input)
Returns: Status with new slide number
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>",
"slide_number": "<slide_number>"
},
"name": "pptx_duplicate_slide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the .pptx file | |
| slide_number | Yes | 1-based slide number to copy | |
| position | No | 'after' (right after original) or 'end' | |
| output_path | No | Optional output path (defaults to overwriting input) |