pptx_list_slides
List slides in a PowerPoint file, returning each slide's index, layout name, title text, and shape count.
Instructions
Return one dict per slide in insertion order.
Each entry has the following keys (VAL-PPTX-010):
index— 0-based slide index.layout— name of the slide's layout (e.g."Title Slide","Title and Content").title— text of the slide's title placeholder, or""when the layout has no title placeholder.shape_count— number of shapes on the slide (placeholderspictures + text boxes + ...).
An empty deck returns [] (VAL-PPTX-011).
Args:
path: Path to an existing .pptx.
folder: Optional base folder for relative paths.
Raises:
OfficeMCPError: ERR_FILE_NOT_FOUND if the file is
missing, ERR_UNSUPPORTED_FMT for non-.pptx
extensions.
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": {
"path": "<path>"
},
"name": "pptx_list_slides"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| folder | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |