Add Image to PowerPoint
office_ppt_add_imageCreate a new PowerPoint presentation with a single slide containing an image. Configure image position, size, rotation, and scaling mode.
Instructions
Create a new PowerPoint (.pptx) with one slide containing an image.
Args:
filePath (string): Path where the presentation will be created
image (object): Image configuration
path (string): Path to the image file
options (object, optional):
x (number): Left position (inches)
y (number): Top position (inches)
w (number): Width (inches)
h (number): Height (inches)
rotate (number): Rotation (degrees)
sizing ("cover" | "contain" | "stretch"): Image sizing mode
Examples:
Use when: "Create a slide with the company logo"
Use when: "Add a screenshot image to a presentation slide"
Not for: Creating slides without images
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": {
"filePath": "<filePath>",
"image": "<image>"
},
"name": "office_ppt_add_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path for the new PowerPoint file | |
| image | Yes |