ppt_update_slide_text
Update the text of a specific shape on a PowerPoint slide by providing the file path, slide index, shape index, and new text content.
Instructions
Update the text of a specific shape on a slide in a PowerPoint presentation.
Args:
file_path: Path to the PowerPoint file.
slide_idx: 0-based slide index.
shape_idx: 0-based shape index within the slide.
text: New text content for the shape.
backup: If True, create a backup of the original file before modifying.
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_idx": "<slide_idx>",
"shape_idx": "<shape_idx>",
"text": "<text>"
},
"name": "ppt_update_slide_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| backup | No | ||
| file_path | Yes | ||
| shape_idx | Yes | ||
| slide_idx | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |