slide_read
Read-only queries on the open presentation (a file whose kind is SLIDE). No data is modified. Safe to auto-approve. Open the presentation first with files_write(open_file). Call as {"action": "", "params": {...}}.
Slides and shapes have stable ids; slide_write addresses edits by them. Shape positions and sizes (xfrm: x, y, cx, cy, rot) are in EMU (914400 per inch, 12700 per point) unless units is "in" or "pt".
Actions: • deck_outline() — Every slide's id, index, layout, title, shape count, whether it has notes and open comments, plus slide size, footer, comment count and available layouts. Start here. • read_deck(format?, units?, from?, limit?, slide_ids?) — Slides with their shapes (type sp / pic / cxnSp / tbl, xfrm, placeholder, geometry, text, fill, line, table style/column widths/row heights/cells), notes and comments, plus the theme (colors and fonts) and footer. format: "markdown" (default) or "json" (ProseMirror JSON). Paginate with from (default 0) and limit (default 50, max 500), or pass slide_ids; next_from is null on the last page. • search_deck(query, limit?, case_sensitive?, whole_word?, regex?) — Text matches across shapes, table cells and notes, each with slide id, shape id and a snippet. • read_comments(slide_id?, include_resolved?) — Comment threads (author, text, replies, resolved, anchor shape) for the deck or one slide. • context() — The full guide to presentations: slides, shapes, units, layouts, Markdown text, batches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: read_deck, deck_outline, search_deck, or read_comments | |
| params | No | Parameters for the action (see tool description) |