PowerPoint Design and Masters
ppt_designEdit PowerPoint deck design: set slide size, layouts, theme colors and fonts, apply brand, backgrounds, master/layout placeholders, replace fonts/colors, and manage transitions or entrance animations.
Instructions
Deck design: slide size, layouts, theme colors and fonts, brand transfer, backgrounds, masters and layout placeholders, deck-wide font and color replacement, transitions and entrance animations. Theme and master reads are ppt_inspect. Every edit backs the file up first and saves atomically. Operations, one per line, as name: what it does:
set_slide_size: Change the slide size (16:9, 4:3, A4, Letter or inches); content is not rescaled.
apply_layout: Switch a slide to another layout; matching placeholders keep their content, others are reported.
set_theme_colors: Set any of a master's 12 theme color slots to hex colors.
set_theme_fonts: Set a master's theme heading and body fonts.
apply_brand: Apply an extract_brand result (theme colors and fonts) to every master of this deck.
set_slide_background: Set or clear one slide's background: a color, gradient or picture.
set_master_placeholder: Set a master placeholder's position, size and text defaults, which every slide inherits.
set_layout_placeholder: Set a layout placeholder's position, size and text defaults, for slides using that layout.
add_layout_placeholder: Add a placeholder to a layout; existing slides do not gain it, new slides do.
remove_layout_placeholder: Remove a placeholder from a layout; refuses while slides use it unless force=true.
insert_master_shape: Put a decoration shape (logo box, footer bar, rule line) on a master or one layout.
delete_master_shape: Delete a decoration shape from a master or layout by id; placeholders are refused.
create_layout: Create a new layout under a master, copied from an existing layout or blank.
set_master_background: Set the background of a master or one layout: a color or a gradient.
replace_fonts: Replace typefaces across the whole deck, including charts, SmartArt and unused declarations.
replace_colors: Replace literal colors across the deck, optionally with theme colors that follow later theme edits. More operations follow, in the same format, in the op parameter's description.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | The operation to run: one listed in this tool's description, or one of these, in the same format: - set_transition: Set or remove a slide transition (fade, push, wipe, split, cut or random). - add_entrance_animation: Add an appear, fade or wipe entrance animation to a shape, optionally paragraph by paragraph. - clear_animations: Remove a slide's animations, or one shape's; transitions stay. | |
| args | No | The operation's arguments as an object, including file_path unless the operation names other paths or reads no deck; unknown keys are refused. Slides count from 1 in slide_number and from 0 in slide: the user's slide 2 is slide_number 2 or slide 1. ppt_help lists every argument. |