pptx_import_slide
Import a slide from a source presentation into a target presentation, preserving layout, master, and embedded assets. Reuses existing layouts to avoid duplication.
Instructions
Copy one slide from a source presentation into a target presentation.
USE THIS when you need to lift a fully-designed slide across from one deck to another, preserving pictures, charts, embedded assets, and the layout/master/theme chain required for it to render correctly.
The tool validates the source slide's layout/master chain before the copy. If an identical layout already exists in the target package, it reuses it and does not import a new master. Otherwise it imports only the single layout and single master required by the slide.
Args: source_file_path: Source .pptx file containing the slide to copy source_slide_number: 1-based slide number in the source deck target_file_path: Target .pptx file to receive the slide position: 'end' or 'after' after_slide_number: Required when position='after' output_path: Optional output path (defaults to overwriting target) include_notes: Whether to carry the notes slide across too
Returns: Status dictionary with output path, new slide number, and whether the layout/master were reused or copied.
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": {
"source_file_path": "<source_file_path>",
"source_slide_number": "<source_slide_number>",
"target_file_path": "<target_file_path>",
"after_slide_number": "<after_slide_number>"
},
"name": "pptx_import_slide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_file_path | Yes | Source .pptx file containing the slide to copy | |
| source_slide_number | Yes | 1-based slide number in the source deck | |
| target_file_path | Yes | Target .pptx file to receive the slide | |
| position | No | 'end' or 'after' | |
| after_slide_number | Yes | Required when position='after' | |
| output_path | No | Optional output path (defaults to overwriting target) | |
| include_notes | No | Whether to carry the notes slide across too |