pptx_get_info
Retrieve slide count, layout names, and dimensions (width/height in inches) of a .pptx file. Returns absolute path and structure summary.
Instructions
Return a summary of the presentation's structure and dimensions.
The returned dict contains:
path— absolute path of the file on disk.slide_count— number of slides (0 is valid;VAL-PPTX-009).layouts— list of layout names available in the deck's slide master (always non-empty;VAL-PPTX-006/-009).dimensions—{"width_inches": <float>, "height_inches": <float>}. The default widescreen template is 13.333 × 7.5 inches; the defaultPresentation()template is 10.0 × 7.5 inches.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| folder | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||