pptx_create_presentation
Create a new PowerPoint .pptx file, optionally with a title slide. Specify the file path and an optional title to generate a presentation with a title slide.
Instructions
Create a new .pptx file at path, optionally with a title slide.
Args:
path: Target .pptx path. May be absolute or relative to
folder (or to the default folder when folder is
None).
title: Optional text for the first slide's title placeholder.
When None (the default), the file is created with no
slides at all (VAL-PPTX-002). When a non-empty
title is given, a single slide is appended using the
"Title Slide" layout (index 0) and the title is
written into its title placeholder (VAL-PPTX-001).
folder: Optional base folder for relative paths.
Returns:
{"path": "<absolute path>"}.
Raises:
OfficeMCPError: ERR_INVALID_PARAMS if path is empty
or a file already exists at the target,
ERR_UNSUPPORTED_FMT if path does not end in
.pptx.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| title | No | ||
| folder | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||