# How AI makes and edits Slides

> How your AI makes Dockito Slides: the kit, a slide-shaped HTML file, edits by box ID, pictures, checks and renders.

Your AI makes a deck once, from a file, and then changes it box by box. It never sends the whole deck again.

## Make a deck

1. **The kit.** `get` with `kit` and a `theme` over MCP, or `dockito kit "Harbor Dark"`, gives the theme's classes, the styles a box takes and example slides. Once a session is enough.
2. **The file.** A `.html` whose `<html>` names the theme, with one `<section>` a slide. Each element in it is a box with a class, placed in pixels on the slide, 1920 × 1080 unless `<html data-size>` says `4:3` (1440 × 1080), `1:1` (1080 × 1080) or `A4` (1080 × 1527). `<section data-h="1620">` makes one slide taller, up to 3 × the deck's height, or `data-h="fit"` to fit its boxes:

   ```html
   <html data-theme="Harbor">
   <section class="bg-glow">
     <p class="eyebrow" data-at="96 96 900">Q3 2026 at a glance</p>
     <h2 class="title-l" data-at="96 140 1500">A record quarter on three measures</h2>
   </section>
   </html>
   ```

3. **Publish it.** `publish` over MCP, or `dockito publish q3-review.html`. Pictures the file names go with it from beside the file (10 MB in all), and `https` links are fetched. The answer has the deck's outline and anything to fix.

## Read

| | MCP | CLI |
|---|---|---|
| The outline: a line a slide, and the version | `get` | `dockito get <deck>` |
| Some slides as HTML with box IDs | `get` with `slides: ["s3"]` | `--slides s3,s5` |
| What others changed since your last read | `get` with `since` | `--since 41` |
| How slides look, as pictures | `render` | `dockito render <deck> s3` |

One slide at 1280 px costs about 1,200 tokens to look at; a contact sheet of 12 slides about 1,900.

## Change

`edit_slides` over MCP, or `dockito edit-slides <deck> ops.json --base N`. Changes name boxes by ID:

```json
[
  { "op": "text", "id": "s3.b2", "find": "$48k", "with": "$52k" },
  { "op": "move", "id": "s4.b1", "x": 96, "y": 240, "w": 800, "h": 400 },
  { "op": "slide.set", "id": "s3", "props": { "transition": "fade", "h": "fit" } },
  { "op": "size", "size": "4:3" }
]
```

- **All or none,** up to 200 changes a call.
- **Safe with people editing.** A box someone changed since the version read is refused, naming them. A text find and replace still lands.
- **Anything people can do,** and more: text, styles, boxes, groups, slides, speaker notes, tables, charts, pictures, theme, slide size and height, transitions and builds. The [reference](/help/agents/mcp-tools#edit_slides) lists every change.
- **Seen as it happens.** With `intent`, the boxes glow for everyone before the change lands, so people watching know what's coming.
- **Undo.** The AI can take back its own change as one change.

Each answer names what to fix: text that overflows, boxes that overlap or leave the slide, low contrast, small text. `check` runs the same checks on the whole deck, with the fix for each.

## Pictures

People's own pictures come first. `get` lists the deck's library; `upload` adds the person's photos and videos (JPEG, PNG, WebP, GIF, MP4, WebM, MOV), 10 MB a call. `stock` finds free-licence photos for the gaps, and Dockito adds any credit the licence asks for. A `media` change places either on a box.

## Download

`export_slides` over MCP, or `dockito get <deck> --pdf -o review.pdf`, gives the deck as a PDF. Speaker notes go in only when the token can edit.
