# LayoutBridge Light for Adobe InDesign® (npm · layoutbridge-light)

layoutbridge-light – book typesetting in Adobe® InDesign® via MCP: text, styles, TOC, PDF, EPUB

- Trust score: 61/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-04

## Components

- npm · `layoutbridge-light`: 61/100 (this document), [markdown](https://verifymcp.io/servers/com-mcp-interfaces-layoutbridge-light/layoutbridge-light.md), [page](https://verifymcp.io/servers/com-mcp-interfaces-layoutbridge-light/layoutbridge-light)

## Channel facts

- Registry: `npm`
- Package: `layoutbridge-light`
- Version: `1.0.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-04.

- **Supply Chain Security**: 98/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 30 of 92 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 6/100
  - Repository check failed: no source repository is declared.
  - Provenance check failed: no build-provenance attestation is published.
  - Licence could not be checked: the licence is shipped as a file inside the package, not declared as a standard (SPDX) licence identifier, so we cannot tell whether it is OSI-approved.
  - Actively maintained (last published 2 days ago).
  - Security-disclosure policy not yet verified: we couldn't inspect the source repository.
- **Schema Quality & AI Usability**: 60/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 32033 tokens (~416/item across 77 items; 77 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 10/100
  - Stability observed for 3 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - All 2 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.
  - An AI judge read all 77 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the LayoutBridge Light for Adobe InDesign® MCP server?

LayoutBridge Light for Adobe InDesign® runs locally as an npm package, launched with npx -y layoutbridge-light. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add com-mcp-interfaces-layoutbridge-light -- npx -y layoutbridge-light
```

### Cursor

```json
{
  "mcpServers": {
    "com-mcp-interfaces-layoutbridge-light": {
      "command": "npx",
      "args": [
        "-y",
        "layoutbridge-light"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "com-mcp-interfaces-layoutbridge-light": {
      "command": "npx",
      "args": [
        "-y",
        "layoutbridge-light"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add com-mcp-interfaces-layoutbridge-light -- npx -y layoutbridge-light
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "com-mcp-interfaces-layoutbridge-light": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "layoutbridge-light"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add com-mcp-interfaces-layoutbridge-light --command npx --arg -y --arg layoutbridge-light
```

### Hermes

```yaml
mcp_servers:
  com-mcp-interfaces-layoutbridge-light:
    command: "npx"
    args: ["-y", "layoutbridge-light"]
```

### Netclaw

```json
{
  "McpServers": {
    "com-mcp-interfaces-layoutbridge-light": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "layoutbridge-light"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add com-mcp-interfaces-layoutbridge-light -t stdio -c npx -a -y layoutbridge-light
```

### Other

```json
{
  "mcpServers": {
    "com-mcp-interfaces-layoutbridge-light": {
      "command": "npx",
      "args": [
        "-y",
        "layoutbridge-light"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-04 (score 61, +1)

No change was recorded against any check on this day. Stability & Change Management went from 7 to 10. That category is still filling its 30-day observation window: 2 days of observed history at the previous scan, 3 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-02 (score 60, +1)

No change was recorded against any check on this day. Stability & Change Management went from 0 to 3. That category is still filling its 30-day observation window: 0 days of observed history at the previous scan, 1 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-01 (score 59)

First indexed and scored.

## MCP tools (77)

### `get_app_version` (~51 tokens)

InDesign version

Return the version string of the running InDesign application. Use it as a sign of life before anything else. Fails with app_not_available when InDesign is not running or not ready yet. Read-only.

### `list_documents` (~84 tokens)

List open documents

List every open document, not just the frontmost one. Returns document_id (stable for this session), name, saved, path (empty when never saved), page_count, is_active and managed_story_count (stories linked to an editorial workflow such as InCopy; null when unreadable). Read-only. Note: saved true is no reliable sign that there is nothing to save.

### `open_document` (~185 tokens)

Open a document

Open an existing .indd, .indt or .idml file. Returns document_id, name, page_count, facing_pages (Doppelseiten) already_open, which is true when the file was open already – it is never opened twice – and managed_story_count (stories linked to an editorial workflow such as InCopy). Because InDesign dialogs are suppressed, missing links (fehlende Verknuepfungen), out of date links and missing fonts (fehlende Schriften) come back as warnings; that is the only signal you get.

Input parameters:

- `open_copy` (boolean): Open an untitled copy and leave the file untouched. Default for .indt templates.
- `path` (string, required): Real file path on the machine running InDesign.
- `show_window` (boolean): Show the document window. Default true. Without a window the document is never the active one.

### `close_document` (~184 tokens)

Close a document

Close a document. save_changes is required and has no default, because InDesign save dialogs are suppressed. Pass path to save under a new name; it is required for a document that has never been saved when save_changes is "yes". Returns saved_to, had_unsaved_changes and the remaining document ids. Note: merely opening a document can already set had_unsaved_changes true.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `path` (string): Save-as target path. Required when save_changes is "yes" and the document was never saved.
- `save_changes` (string, required): Required. "yes" saves before closing, "no" discards unsaved changes.

### `list_pages` (~123 tokens)

List pages

List the document pages. Per page: page_id, index (0-based), side (LEFT_HAND, RIGHT_HAND or SINGLE_SIDED), parent (the applied master page, "[None]" when there is none) and name, which is the printed page number. Read-only. Master pages themselves are listed by list_parent_pages.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…

### `get_page_state` (~298 tokens)

Snapshot of one page

Snapshot of one page: page_bounds_mm and every object on it with id, type (text, image, rectangle, ellipse, polygon, line, group, other), bounds_mm, paragraph_style when the whole frame uses one, a text_snippet of up to 200 characters, child_count, parent_group_id and layer_name (Ebene). Nothing is skipped silently; unknown kinds come back as "other". Works for master pages too – take the page_id from list_parent_pages, the answer then carries is_parent_page true. All coordinates are millimetres from the top left corner of that page. Read-only. Careful: an object bleeding over the edge to the neighbouring page can show up with x = 210 instead of 0 – do not judge by coordinates alone, measure in the exported PDF. Returns coordinate_space "page": every bounds_mm is relative to the top left corner of this page and can be passed back to set_frame_bounds together with page_id.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `include_group_children` (boolean): Also list the objects inside groups, each with parent_group_id. Default true.
- `page_id` (integer, required): Page to look at, from list_pages or list_parent_pages.

### `set_story_options` (~272 tokens)

Story options (optical margin alignment)

Read or set story-wide options of the story a text frame belongs to (frame_id names any frame of the story): optical_margin_alignment (optischer Randausgleich / hängende Interpunktion – punctuation and letter edges hang slightly outside the column edge, which makes justified edges look straight) and optical_margin_size_pt (the point size the alignment is calculated for; usually the body text size, 0.1–1296). Without parameters it is read-only. Returns story_id, frame_ids[] of the story in threading order, the two values after the change, previous {…}, changed[] and overset of the story. Optical margin alignment recomposes every line of the story – check get_frame_lines afterwards. get_frame_options shows the two values under text as well.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.
- `optical_margin_alignment` (boolean): Switch optical margin alignment on or off for the whole story.
- `optical_margin_size_pt` (number): Reference point size for the alignment, usually the body text size.

### `get_frame_lines` (~507 tokens)

Lines of a text frame (composition)

Read the composed lines of a text frame directly from InDesign, per text column – the basis for widow/orphan checks (Hurenkind, Schusterjunge), hyphen ladders, empty lines and the comparison of column starts, without a PDF export. Returns frame_id, story_id, frame_index (position of the frame in the story), page_id, column_count, line_count, columns[] {column_index, bounds_mm (from frame, inset, column count and gutter), line_count, first_baseline_mm, last_baseline_mm (mm from the top of the page), starts_with_last_line_of_paragraph (widow suspicion), ends_with_first_line_of_paragraph (orphan suspicion), starts_with_empty_line, consecutive_hyphens_max, ends_with_single_word, single_word_last_lines[], lines[] {index (in the column), start_index, end_index (story indices, end exclusive – usable in the *_to_range tools), baseline_mm, ascent_pt, descent_pt, left_mm, right_mm, paragraph_index (0-based in the story), is_first_line_of_paragraph, is_last_line_of_paragraph, paragraph_line_count (story-wide, so a paragraph continuing in the next frame is still counted whole), ends_with_hyphen, is_empty, word_count, last_char, text (only with include_text)}}, overset and truncated. Pitfalls: only composed text has lines – overset text has none; an automatic hyphen is not part of the text, so ends_with_hyphen is inferred when a line ends and the next line of the same paragraph begins with a letter; the last line of a paragraph that continues in the next frame is the last visible line here, not the last line of the paragraph (compare paragraph_line_count); lines inside tables are not Line objects and are not listed. Read-only. Returns coordinate_space ("page" or "spread") for the coordinates reported.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.
- `include_text` (boolean): Also return the text of every line. Default false (figures only).
- `max_lines` (integer): Cap for the lines returned over all columns. Default 500.

### `check_typography` (~859 tokens)

Check typography rules (read-only)

Find violations of general typesetting rules and report them – never change anything. The rule catalogue is a data table in the package (rules/typography-rules.json): character rules run as InDesign GREP searches (double_space, space_before_punct, straight_quotes, apostrophe, hyphen_as_dash, dash_spacing, three_dots, number_unit_space, number_unit_missing_space, abbreviation_space, thousands_grouping, empty_paragraph, double_paragraph_break, tab_as_indent, trailing_space); line rules run on the composed lines of every text frame like get_frame_lines (widow – Hurenkind, error; orphan – Schusterjunge, warning; heading_at_column_end; single_word_last_line; hyphen_ladder with max_consecutive_hyphens, default 3; empty_line_at_column_start; column_first_baselines_differ, more than 0.1 mm). locale de (default), de-CH (guillemets) or en (curly quotes, closed em dash, no space before %). scope document (default), frame or story (both need frame_id). page_range limits the check to pages by printed page name like export_pdf ("6-8", "1, 3-5", "+3"): line rules read only frames on those pages, character findings elsewhere are left out (returned as page_range_used, "all" without it). Line rules read every line and take far longer than the character rules – on a long book check part of it per call with page_range; above 100 text frames in scope document without page_range a warning says so. rules[] limits to those ids, exclude_rules[] drops some; unknown ids are invalid_argument. Returns findings[] {rule_id, severity, category, message, story_id, frame_id, page_id, page_name, start_index, end_index (story indices for the *_to_range tools), snippet, suggestion (often a find_replace GREP pattern)}, counts per rule_id, rules_checked[], rules_failed[] (a GREP pattern InDesign rejected – warning, the rest runs), frames_checked, findings_dropped and truncated (max_findings caps only findings[]; every rule still runs and counts stays complete). Sources: Forssman/de Jong (Detailtypografi…

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `exclude_rules` (array): Rule ids to skip.
- `frame_id` (integer): Object id of a text frame for scope frame or story.
- `include_locked_layers` (boolean): Also check frames on locked layers. Default false.
- `include_master_pages` (boolean): Also check master pages. Default false.
- `locale` (string): Rule language: de (default), de-CH or en.
- `max_consecutive_hyphens` (integer): hyphen_ladder: allowed consecutive hyphenated lines. Default 3 (Forssman/de Jong).
- `max_findings` (integer): Cap for findings[]. Default 500.
- `min_last_line_chars` (integer): single_word_last_line: also report last lines shorter than this many characters. Default 0 = single words only.
- `page_range` (string): Pages to check, by printed page name like export_pdf, e.g. "1-50" or "1, 3-5"; any number of pages. Default all.
- `rules` (array): Rule ids to check. Default: every rule of the locale.
- `scope` (string): document (default), frame (only the frame) or story (all frames of its story); frame and story need frame_id.
- `severity_min` (string): Report only findings of this severity or above. Default info.

### `create_document` (~333 tokens)

Create a document

Create a new document. Page size from preset (A4, Letter, Legal, Tabloid) or width_mm/height_mm, orientation portrait or landscape, pages (default 1), facing_pages (Doppelseiten, default true). margins_mm is required: { top, bottom, left, right } or { top, bottom, inside, outside } – for facing pages InDesign treats left as the inside margin (Bundsteg) and right as the outside margin. columns { count, gutter_mm } sets the column guides (Spaltenhilfslinien). Returns document_id and page_ids plus the page size InDesign actually set. The document is untitled until save_document. Note: if this call times out, the document may still have been created – check list_documents before repeating.

Input parameters:

- `columns` (object): Column guides: count and gutter (Spaltenabstand) in millimetres.
- `facing_pages` (boolean): Facing pages (Doppelseiten). Default true.
- `height_mm` (number): Page height in millimetres. Overrides the preset height.
- `margins_mm` (object, required): Required. Margins (Stege) in millimetres: top/bottom plus left/right or inside/outside.
- `orientation` (string): Swaps width and height when they do not match. Default portrait.
- `pages` (integer): Number of pages. Default 1.
- `preset` (string): Page size preset. Alternative to width_mm/height_mm.
- `width_mm` (number): Page width in millimetres. Overrides the preset width.

### `save_document` (~170 tokens)

Save a document

Save the document. With path it is a save-as (Speichern unter); without path the document is saved in place. A document that has never been saved needs path, otherwise the call fails with io_error. Returns path as InDesign reports it afterwards. A document with managed stories (editorial workflow, see list_stories lock_state) is saved with a warning: saving the layout does not save or check in those stories in the editorial system.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `path` (string): Target file path for save-as. Required for a document that has never been saved.

### `export_pdf` (~602 tokens)

Export as PDF

Export the document (or a page_range) as PDF to path (the target file path – not output_path). Preset chain: preset (without it the localized built-in "High Quality Print" preset); when the result exceeds fallback_over_bytes it is exported again with fallback_preset (without both there is no second pass); a preset that does not exist falls back to the localized "High Quality Print" preset, then to the current export preferences, each with a warning. A spread preset turns single pages into spreads – check exported_page_count. The server configuration can hold default values for the three preset parameters; a parameter in the call always wins. page_range uses the printed page names as shown in InDesign ("6-8", "1, 3-5"; "+3" is the third page regardless of its name). Returns path, exported_page_count and document_page_count (page_count equals exported_page_count), bytes, preset_used and page_range_used. Pass fallback_over_bytes 0 or fallback_preset "" to disable the second pass. use_document_bleed true exports with the document bleed (Anschnitt, see set_document_bleed) for this call only, without changing the preset – needed for print-on-demand and any bleeding image, because built-in presets such as [PDF/X-1a:2001] export without bleed; false exports without bleed; omitted = as the preset says. Also returned: document_bleed_used (true/false, null if unknown) and document_bleed_mm {top, bottom, inside_or_left, outside_or_right}. InDesign writes anywhere on the machine, also outside shared folders. Can take minutes on a full issue. For an e-book use export_epub.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `fallback_over_bytes` (integer): Size threshold in bytes for the second pass. Default: the configured value, otherwise 0 = no second pass.
- `fallback_preset` (string): Preset for the second pass when the file exceeds fallback_over_bytes. Default: the configured preset, otherwise none. "" disables the second pass.
- `page_range` (string): Pages to export, by printed page name, e.g. "6-8" or "1, 3-5". Default all.
- `path` (string, required): Required. Target .pdf path on the machine running InDesign.
- `preset` (string): PDF export preset name (exact, as listed in InDesign). Default: the configured preset, otherwise the localized "High Quality Print".
- `use_document_bleed` (boolean): true: export with the document bleed (Anschnitt) for this call only, the preset stays unchanged; false: without bleed. Default: as the preset says.

### `preflight_document` (~256 tokens)

Run InDesign preflight

Run InDesign's preflight (Preflight) with profile_name or, without it, the document's working profile (falls back to the first available profile when the working profile is invalid). Waits for the process, returns profile_used, summary ("None" when there are no errors), error_count and findings[] with category, description, page_name and item, capped by max_findings (1–500, default 100). With list_profiles_only true only profiles[] is returned. Read-only: the process is created, awaited and removed. Caveat: overset text (Übersatz) is not always reported with the right page – get_frame_text on the last frame of each story is the reliable check.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `list_profiles_only` (boolean): Only list the available profiles, run nothing.
- `max_findings` (integer): Cap for findings[]. Default 100.
- `profile_name` (string): Preflight profile to use. Default: the document's working profile.

### `document_text_defaults` (~262 tokens)

Document text defaults

Read or set the document's text defaults (Textvorgaben) – the font, style, size and paragraph style every new text frame inherits and that set_text writes as local formatting. Without parameters it is read-only. Each setter works on its own; a failing one lands in problems[] without aborting the others. font takes a family name as InDesign shows it or "Family\tStyle" with a tab; font_style the style name ("Bold"); point_size 0–1296; paragraph_style the style name (not style_name). Returns the values after the change: font, font_style, point_size, paragraph_style, character_style, changed_fields[] and problems[].

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `font` (string): Font family, or "Family\tStyle" with a tab character.
- `font_style` (string): Font style name, e.g. "Regular", "Bold".
- `paragraph_style` (string): Paragraph style name to use as default.
- `point_size` (number): Size in points.

### `set_document_bleed` (~200 tokens)

Set bleed and slug

Set the document bleed (Anschnitt) and slug (Infobereich). bleed_mm and slug_mm each take a number (0–50, all edges) or an object with top/left/bottom/right; edges you leave out keep their value. Returns bleed_mm and slug_mm per edge plus bleed_uniform and slug_uniform. Independent of the bleed setting inside a PDF export preset. Read the current values with get_layout_grid.

Input parameters:

- `bleed_mm`: Bleed in millimetres: one number for all edges or { top, left, bottom, right }.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `slug_mm`: Slug in millimetres: one number for all edges or { top, left, bottom, right }.

### `add_page` (~269 tokens)

Add a page

Add a page at "start", at "end" (default) or relative to a page: { after_page_id } or { before_page_id } – not position or at_index. Returns page_id, index, name and spread_page_count of the spread (Druckbogen) the page landed on, with a warning when that spread now has more than two pages (with "allow pages to shuffle" off InDesign appends to the existing spread). New pages do not inherit a master page – call apply_parent_to_page. The layout window keeps its view (keep_view, default true); pass keep_view false to let InDesign show the new page.

Input parameters:

- `at`: "start", "end", { after_page_id } or { before_page_id }. Default "end".
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `keep_view` (boolean): Restore the previous view (page and zoom of the layout window) afterwards – InDesign otherwise jumps to the new page. Default true; false lets the view move. The answer carries view_restored (null wh…

### `delete_page` (~571 tokens)

Delete a page

Delete a page. There is no undo. Master page objects and empty frames do not block (they are reported and go with the page); frames with text or images and threaded frames (verkettete Rahmen) block – the call then fails with invalid_state and lists them, and only force true deletes anyway. The only page of a document and master pages are always protected. Objects on the pasteboard (Montagefläche) belong to the spread, not to the page: when the spread goes with the page (the page is the only one of its spread), its pasteboard objects are listed before anything happens. When InDesign regroups the spreads (facing pages with "allow pages to shuffle"), pasteboard objects stay but can end up beside other pages. on_pasteboard_items decides: "warn" (default) deletes them with the page and warns, "abort" fails with invalid_state and details.code "pasteboard_items_present" (nothing deleted), "move" first moves them to the pasteboard of the spread of pasteboard_target_page_id (same position beside the pages; right stays right). Returns page_id, name, former_index, items_deleted, boilerplate_ignored and item_summary[]; also on_pasteboard_items, pasteboard_items[] {frame_id, type, spread_index, bounds_mm (spread coordinates), link_name, link_path, text_snippet}, pasteboard_moved_ids[], pasteboard_lost_ids[] (checked after deleting; a warning names every loss) and pasteboard_relocated[] {frame_id, spread_page_ids_before, spread_page_ids, spread_page_names_before (names before deleting), spread_page_names, spread_index, bounds_mm_before, bounds_mm, on_pasteboard} for pasteboard objects that now lie beside other pages or elsewhere (a warning names them); changes.removed_page_ids. Read list_pages again afterwards.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `force` (boolean): Delete even when frames with content or threaded frames are on the page.
- `on_pasteboard_items` (string): What happens to pasteboard objects of a spread that goes with the page: "warn" (default) delete and warn, "abort" fail with details.code pasteboard_items_present, "move" move them to the spread of pa…
- `page_id` (integer, required): Page to delete, from list_pages.
- `pasteboard_target_page_id` (integer): Document page whose spread receives the pasteboard objects with on_pasteboard_items "move"; must lie on a spread that stays.

### `list_parent_pages` (~122 tokens)

List master pages

List the master spreads (Musterseiten): name ("A-Cover"), prefix, base_name, applied_to_page_ids[] and pages[] with page_id, index, side and item_count. Those page_ids make master pages readable and editable with get_page_state, set_text or find_replace (scope frame). Read-only.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…

### `create_parent_page` (~410 tokens)

Create a master page

Create a master spread (Musterseite) with base_name (1–60 characters) and name_prefix (one capital letter; InDesign picks the next free one when omitted). facing defaults to the document's facing-pages setting. page_count (1–10) sets the number of pages of the master spread directly – also in a single-sided document, where facing true alone still gives one page. based_on names an existing master (full name with prefix) the new one is based on (Musterseite basiert auf); "[None]" for none. Returns name, page_ids[], page_count and based_on ("[None]" when none). InDesign switches the layout window to the new master spread when it is created; keep_view (default true) puts the previous page and zoom back afterwards (view_restored) – pass keep_view false to stay on the master.

Input parameters:

- `base_name` (string, required): Name without prefix, e.g. "Grundlayout".
- `based_on` (string): Full name of the master this one is based on, e.g. "A-Grundlayout"; "[None]" for none. Default: none.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `facing` (boolean): Two-page master. Default: like the document.
- `keep_view` (boolean): Restore the previous view (page and zoom of the layout window) afterwards – InDesign otherwise jumps to the new page. Default true; false lets the view move. The answer carries view_restored (null wh…
- `name_prefix` (string): One capital letter. Default: next free letter.
- `page_count` (integer): Pages of the master spread (1–10), also in a single-sided document. Overrides facing; a contradicting facing value is refused.

### `apply_parent_to_page` (~171 tokens)

Apply a master page

Apply the master spread parent_name (full name with prefix, e.g. "A-Footer") to page_id. "[None]", "none" or "Ohne" detaches the page from its master – an ad page loses header, footer line and page number in one step. Returns page_id and parent_applied as InDesign reports it afterwards.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `page_id` (integer, required): Page from list_pages (or a master page from list_parent_pages).
- `parent_name` (string, required): Full master name with prefix, or "[None]" to detach.

### `insert_page_number_marker` (~126 tokens)

Insert page number marker

Insert the automatic page number placeholder (Seitenzahl-Platzhalter) into text frame frame_id at position "start" or "end" (default end). Works on master page frames too. Returns frame_id and position.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Text frame to write into.
- `position` (string): Default "end".

### `get_layout_grid` (~384 tokens)

Layout grid (Satzspiegel)

Read the type area (Satzspiegel) of every document page and, by default, every master page, plus document-wide values. Per page: page_id, name, spread_index, spread_page_count, spread_position, page_offset_in_spread_mm, parent, margins_mm (top, bottom, left, right; for facing pages also inside = left and outside = right – InDesign stores the inside margin (Bundsteg) as "left"), column_count, column_gutter_mm, type_area_mm {x, y, width, height} measured from the top left corner of that page, column_width_mm, columns_positions_mm (from the left edge of the type area; a two-column grid with 5 mm gutter on 170 mm reads [0, 82.5, 87.5, 170]) and custom_column_positions. Document-wide: distinct_grids[] {margins_mm, columns, gutter_mm, page_ids}, is_uniform, baseline_grid {start_mm, increment_mm, increment_pt, relative_to (top_of_page, top_of_margin or unknown), relative_to_raw, shown, view_threshold}, baseline_grid_check {first_line_mm, starts_at_type_area_top, lines_in_type_area, last_line_mm, remainder_below_mm} for the first document page, bleed_mm {top, left, bottom, right, uniform} and slug_mm. Warnings: bleed 0, baseline grid does not fit the type area, relative_to unknown. Read-only.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `include_parent_pages` (boolean): Also include master pages (Musterseiten). Default true.

### `set_layout_grid` (~584 tokens)

Set margins and columns

Set margins, column count and gutter on document pages and, by default, master pages, and redistribute the column guides evenly (relative to the type area). Whatever is omitted stays as it is. margins_mm takes top, left, bottom, right in mm – for facing pages "left" is the inside margin (Bundsteg) and "right" the outside margin. column_count 1–30, column_gutter_mm. page_ids[] limits the change to those pages (document or master pages); without it every page and the document defaults for new pages are changed – a client may block one call over all pages, so pass page_ids in blocks if needed. Optional baseline_grid {start_mm, increment_pt, relative_to: top_of_page | top_of_margin} sets the document baseline grid (Grundlinienraster). Moves only guides, never frames – unless move_objects is true: then every object on the changed pages keeps its size and moves with the inside (Bundsteg) and top margin (on a left-hand page of facing pages to the left when the inside margin grows), e.g. to widen the gutter for binding without stretching the type; locked objects, objects on locked layers and objects reaching beyond the page edge (bleeding images) stay and are listed in skipped_objects[] {item_id, page_id, reason}, moved ones in moved_objects[] {item_id, page_id, dx_mm, dy_mm}; changing the outside margin alone moves nothing. Returns changed_pages[] {page_id, name, margins_mm, column_count, column_gutter_mm, type_area_mm, column_width_mm, columns_positions_mm} read back from InDesign, with a warning per page whose column positions do not lie on the even grid. A timed-out call may still have completed in InDesign – check with get_layout_grid before repeating.

Input parameters:

- `baseline_grid` (object): Document baseline grid (Grundlinienraster); document-wide, not per page.
- `column_count` (integer): Number of columns, 1–30.
- `column_gutter_mm` (number): Gutter (Spaltenabstand) in mm.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `include_parent_pages` (boolean): Also include master pages (Musterseiten). Default true.
- `margins_mm` (object): Margins in mm; omitted edges stay.
- `move_objects` (boolean): true: move the objects on the changed pages with the inside and top margin instead of leaving them (no resizing). Default false.
- `page_ids` (array): Pages to change (document or master pages). Without it: all pages plus the document defaults.

### `create_text_frame` (~859 tokens)

Create a text frame

Create an empty text frame on page_id (document or master page) at bounds_mm {x, y, width, height}; x/y may be negative for bleed. initial_text is put in as one paragraph – "\n" becomes a forced line break, not a new paragraph; for real paragraphs create the frame empty and use set_text. The frame inherits the document text defaults, vertical justification and text wrap (Textumfluss): with wrap on, text frames underneath can be pushed into overset – pass text_wrap "none" to switch it off at creation, and vertical_justification "top" to pin the text to the top. Frame options (Textrahmenoptionen): first_baseline_offset sets the first baseline (Versatz erste Grundlinie: ascent, cap_height, leading, x_height, fixed, embox_top) with min_first_baseline_pt as the minimum in points; ignore_text_wrap true lets this frame ignore wrap of other objects (e.g. a caption over a picture with wrap); inset_mm sets the inset (Innenabstand) as one number or {top, left, bottom, right}. A one-line caption in a frame of exactly one grid line needs first_baseline_offset appropriate to the style (ascent or fixed) – otherwise it goes into overset. Returns frame_id, bounds_mm (read back, relative to the page it landed on), landed_on_page_id and landed_on_page_name (empty = pasteboard), and the frame options read back; a landing on another page is a warning, never a silent success. A timed-out call may still have created the frame – check get_page_state before repeating. Placeholders in the text become InDesign special characters (placeholders true, default): {{line_break}} (forced line break within the paragraph), {{nbsp}} (no-break space U+00A0), {{nbsp_fixed}} (fixed-width no-break space U+202F), {{thin_space}}, {{hair_space}}, {{soft_hyphen}} (discretionary hyphen), {{nb_hyphen}} (no-break hyphen), {{en_dash}}, {{em_dash}}, {{tab}}, {{column_break}}, {{frame_break}}, {{page_break}}. Unknown {{…}} stay as written with a warning; each placeholder is exactly one character in the story. Retur…

Input parameters:

- `bounds_mm` (object, required): Position and size in mm from the top left corner of the page (or spread with coordinate_space "spread").
- `coordinate_space` (string): Reference for x/y: "page" (default) is the top left corner of page_id, identical on left and right pages; "spread" is the top left corner of the spread (Druckbogen) – the right page of a spread start…
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `first_baseline_offset` (string): Position of the first baseline (Versatz erste Grundlinie). Default is the document default, usually ascent.
- `ignore_text_wrap` (boolean): true: this frame ignores text wrap of other objects (Textumfluss ignorieren).
- `initial_text` (string): Text for the frame, one paragraph; "\n" is a line break. Placeholders such as {{nbsp}} are expanded.
- `inset_mm`: Inset (Innenabstand) in mm: one number for all edges or {top, left, bottom, right}; missing edges are 0.
- `min_first_baseline_pt` (number): Minimum first baseline offset in points (Min. in the frame options).
- `page_id` (integer, required): Page from list_pages or list_parent_pages.
- `placeholders` (boolean): Expand {{…}} placeholders into special characters. Default true; false writes them literally.
- `text_wrap` (string): "none" switches text wrap off for this frame.
- `vertical_justification` (string): Vertical alignment of the text inside the frame.

### `create_image_frame` (~356 tokens)

Create an image frame

Create an empty graphic frame (Bildrahmen) on page_id at bounds_mm; x/y may be negative for bleed. By default fill and stroke are set to [None] and the stroke weight to 0 pt, so nothing prints around the picture (appearance_cleared true); keep_default_appearance true keeps the document defaults. The frame is set to fit a picture proportionally when place_image fills it later. Returns frame_id, bounds_mm, appearance_cleared, landed_on_page_id and landed_on_page_name; a landing on another page is a warning. If a 1 pt stroke still shows in an export, run set_frame_appearance with stroke_weight_pt 0. A timed-out call may still have created the frame – check get_page_state before repeating.

Input parameters:

- `bounds_mm` (object, required): Position and size in mm from the top left corner of the page (or spread with coordinate_space "spread").
- `coordinate_space` (string): Reference for x/y: "page" (default) is the top left corner of page_id, identical on left and right pages; "spread" is the top left corner of the spread (Druckbogen) – the right page of a spread start…
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `keep_default_appearance` (boolean): true keeps the document default fill and stroke. Default false = fill and stroke [None], stroke 0 pt.
- `page_id` (integer, required): Page from list_pages or list_parent_pages.

### `create_rectangle` (~839 tokens)

Create a rectangle

Create a rectangle on page_id at bounds_mm (x/y may be negative) with optional fill_hex, stroke_hex, stroke_weight_pt (points), corner_radius_mm and corner_type, fill_tint_percent, stroke_tint_percent, gradient_fill_angle_deg, gradient_stroke_angle_deg, layer_name and name. Hex colours become RGB swatches named after the value ("#1A2B3C"), reused when they exist; their ids come back as swatch_ids. For print use the existing document swatches (CMYK) instead: fill_swatch_name / stroke_swatch_name take the exact name of an existing colour, tint or gradient swatch (see list_swatches); each excludes the corresponding hex parameter. Without fill_hex the fill is [None]; without stroke_hex and stroke_weight_pt the stroke is [None] with 0 pt. The rectangle inherits the document text wrap (Textumfluss) – pass text_wrap "none" to switch it off. Returns frame_id, page_id, swatch_ids, bounds_mm, fill_color, fill_kind (none, color, tint, gradient, mixed_ink), stroke_color, stroke_kind, tints, gradient angles, corner_type, corners, layer_name, landed_on_page_id and landed_on_page_name. A timed-out call may still have created the rectangle – check get_page_state before repeating.

Input parameters:

- `bounds_mm` (object, required): Position and size in mm from the top left corner of the page (or spread with coordinate_space "spread").
- `coordinate_space` (string): Reference for x/y: "page" (default) is the top left corner of page_id, identical on left and right pages; "spread" is the top left corner of the spread (Druckbogen) – the right page of a spread start…
- `corner_radius_mm` (number): Corner radius in mm for all four corners.
- `corner_type` (string): Corner shape (Eckenoptionen) for all four corners: none, rounded, inverse_rounded, bevel, inset, fancy. Default rounded when corner_radius_mm is greater than 0, otherwise none.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `fill_hex` (string): Fill colour as hex, e.g. "#E30613". Creates an RGB swatch.
- `fill_swatch_name` (string): Exact name of an existing swatch for the fill – colour, tint or gradient swatch (see list_swatches). Not together with fill_hex.
- `fill_tint_percent` (number): Tint of the fill swatch in percent (0–100).
- `gradient_fill_angle_deg` (number): Angle of a linear gradient fill in degrees (-180 to 180); only visible with a gradient swatch as fill.
- `gradient_stroke_angle_deg` (number): Angle of a linear gradient stroke in degrees (-180 to 180); only visible with a gradient swatch as stroke.
- `layer_name` (string): Existing layer to create the object on. Default: the active layer.
- `name` (string): Object name (label), shown in InDesign's layers panel.
- `page_id` (integer, required): Page from list_pages or list_parent_pages.
- `stroke_hex` (string): Stroke colour as hex. Creates an RGB swatch.
- `stroke_swatch_name` (string): Exact name of an existing swatch for the stroke (colour, tint or gradient). Not together with stroke_hex.
- `stroke_tint_percent` (number): Tint of the stroke swatch in percent (0–100).
- `stroke_weight_pt` (number): Stroke weight in points (1 pt with a warning when a stroke colour is given without it).
- `text_wrap` (string): Text wrap of the new object: none, bounding_box or object_shape. Without it the document default applies – pass "none" when text lies underneath.

### `delete_frame` (~213 tokens)

Delete an object

Delete a text frame, image frame, rectangle, line or group (as a whole) by frame_id. A threaded text frame (verketteter Rahmen) takes its own text portion with it; the rest of the story stays in the other frames. There is no undo. Returns frame_id, type, was_threaded, characters_removed and removed_frame_ids (group members included). characters_removed counts only the text portion taken out of a threaded chain; it is 0 for an unthreaded frame, whose story is deleted together with the frame. A frame holding a managed story (editorial workflow, also when locked) is deleted anyway, with a warning; the story file on disk stays.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object to delete, from get_page_state.

### `set_frame_bounds` (~388 tokens)

Move or resize an object

Move or resize an existing text frame, image frame, rectangle or line without rebuilding it: bounds_mm {x, y, width, height}. With page_id the values are relative to that page (x/y may be negative for bleed); without page_id they are spread coordinates (Druckbogen). Never changes the spread. Groups are refused (their graphics would stay behind). A rotated object takes the values in its rotated space. Resizing an image frame crops: the picture keeps its position and scale inside the frame, so a smaller frame shows less of it (the way to trim a bleed picture to the trim edge, or to crop a photo without rescaling) – use fit_frame when the picture should follow the new frame instead. Returns frame_id, bounds_mm as InDesign reports them, landed_on_page_id and landed_on_page_name; a landing on another page is a warning. Returns coordinate_space ("page" with page_id, otherwise "spread"); a page change without page_id is a warning, because page-relative values read elsewhere shift the object by one page width when passed as spread coordinates. When the object carries a text wrap, the document is recomposed afterwards and recomposed, overset_stories_before, overset_stories_after and overset_changed report whether the overset state of the document changed.

Input parameters:

- `bounds_mm` (object, required): Position and size in mm from the top left corner of the page (or spread with coordinate_space "spread").
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.
- `page_id` (integer): Page the coordinates refer to (same spread). Without it: spread coordinates.

### `set_frame_appearance` (~564 tokens)

Fill and stroke of an object

Set fill, stroke colour and stroke weight of an object. fill and stroke take "#RRGGBB" (an RGB swatch is created or reused) or "none"; fill_swatch_name and stroke_swatch_name take the exact name of an existing colour, tint or gradient swatch instead (print: the document's CMYK swatches, see list_swatches) and each excludes the corresponding hex parameter. stroke_weight_pt is in points (0 or more). fill_tint_percent / stroke_tint_percent set the tint (0–100), gradient_fill_angle_deg / gradient_stroke_angle_deg the angle of a linear gradient (a warning when the swatch is no gradient). At least one parameter besides frame_id is required. Returns fill_kind and stroke_kind (none, color, tint, gradient, mixed_ink), the tints (null when none is set), the gradient angles and gradient_fill_start_mm / gradient_fill_length_mm as InDesign holds them. stroke "none" also sets the weight to 0, because [None] alone can resolve to black in localised documents – the reliable way to remove a stroke is stroke_weight_pt 0; check the export. Returns applied_fill, applied_stroke and applied_stroke_weight_pt read back from the object, plus swatch_ids of new swatches.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `fill` (string): "#RRGGBB" or "none".
- `fill_swatch_name` (string): Exact name of an existing swatch for the fill. Not together with fill.
- `fill_tint_percent` (number): Tint of the fill swatch in percent (0–100).
- `frame_id` (integer, required): Object id from get_page_state.
- `gradient_fill_angle_deg` (number): Angle of a linear gradient fill in degrees (-180 to 180); a warning when the fill is no gradient swatch.
- `gradient_stroke_angle_deg` (number): Angle of a linear gradient stroke in degrees (-180 to 180); a warning when the stroke is no gradient swatch.
- `stroke` (string): "#RRGGBB" or "none" (also sets the weight to 0).
- `stroke_swatch_name` (string): Exact name of an existing swatch for the stroke. Not together with stroke.
- `stroke_tint_percent` (number): Tint of the stroke swatch in percent (0–100).
- `stroke_weight_pt` (number): Stroke weight in points; 0 removes the stroke.

### `set_frame_columns` (~200 tokens)

Columns inside a text frame

Set the number of columns inside a text frame (not the page grid): count (1 or more; the parameter is count, not column_count) and gutter_mm (Spaltenabstand; without it the frame keeps its current gutter – InDesign's own default for new frames is 1 pica = 4.233 mm). Returns frame_id, count and gutter_mm read back. Fails with invalid_state for anything but a text frame.

Input parameters:

- `count` (integer, required): Number of columns inside the frame.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.
- `gutter_mm` (number): Gutter between the columns in mm. Without it the current gutter of the frame stays.

### `set_frame_inset` (~234 tokens)

Inset of a text frame

Set the inset spacing (Innenabstand) of a text frame: inset_mm {top, left, bottom, right}, all four required, 0 or more; and/or the vertical justification (vertikale Ausrichtung, Textrahmenoptionen): vertical_justification top, center, bottom or justify. At least one of the two; what is omitted stays. Returns frame_id, inset_mm and vertical_justification read back (get_frame_options reads both under text).

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.
- `inset_mm` (object): Inset in mm: { top, left, bottom, right }, all required. Optional when vertical_justification is given.
- `vertical_justification` (string): Vertical justification of the text in the frame (vertikale Ausrichtung). Without it the frame keeps its setting.

### `set_text_wrap` (~233 tokens)

Text wrap of an object

Set the text wrap (Textumfluss) of an object: mode none, bounding_box, object_shape, jump_object or next_column, with an optional offset as offset_mm or offset_pt {top, left, bottom, right} (one of them, not both; object_shape uses only one distance). The reliable cure for text frames pushed into overset by a new frame is mode "none". Returns frame_id, mode and offset_mm read back. The document is recomposed afterwards; recomposed, overset_stories_before, overset_stories_after and overset_changed report whether the overset state of the document changed.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.
- `mode` (string, required): Text wrap mode.
- `offset_mm` (object): Wrap offset in mm.
- `offset_pt` (object): Wrap offset in points.

### `thread_text_frames` (~180 tokens)

Thread two text frames

Thread (verketten) two text frames into one story: the text of source_frame_id continues in target_frame_id. Already threaded to each other = no-op (already_threaded true). Text already in the target is merged into the story after the source text (warning). A source that already continues elsewhere, or a target that already continues another frame, is refused with invalid_state. Returns source_frame_id, target_frame_id, story_id and story_character_count.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `source_frame_id` (integer, required): Frame whose text continues in the target.
- `target_frame_id` (integer, required): Frame that receives the continuation.

### `place_image` (~529 tokens)

Place an image or PDF

Place an image or PDF file (real path on the InDesign machine) into a graphic frame, replacing whatever it held (crop and scale are reset). fit: fill_proportionally, fit_proportionally, fit_content_to_frame or center_content; without it the frame fitting options of the frame apply. pdf_crop chooses the PDF page box: media (InDesign default – the whole sheet including printer marks, the usual reason for misplaced ads), crop, trim, bleed (for bleed ads), art or content; pdf_page picks the page (default 1). When the PDF has no such box (a QR code PDF without TrimBox, say), InDesign refuses – the tool then falls back to the next larger box (bleed → trim → crop → media) with a warning and reports pdf_crop_used; without pdf_crop the box preset in InDesign applies (the last choice of the place dialog, not always media) and the same fallback starts from that box; pdf_crop_fallback false turns that off and returns the io_error instead. The place preferences are set for this call only and restored. Returns frame_id, link_status, frame_bounds_mm, graphic_bounds_mm, pdf_crop_used and fits_frame (true when the graphic covers the frame within 0.2 mm; otherwise a warning); a warning when the effective resolution is below min_ppi. A changed CropBox of a PDF is ignored by InDesign; for asymmetric bleed derive a placement copy of the PDF. A timed-out call may still have placed – check get_page_state before repeating.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `fit` (string): Fitting after placing.
- `frame_id` (integer, required): Object id from get_page_state.
- `image_path` (string, required): Real file path of the image or PDF on the machine running InDesign.
- `min_ppi` (number): Effective resolution in ppi below which a warning is given. Default: the configured value, otherwise 300 (the usual offset print value: twice the 150 lpi screen).
- `pdf_crop` (string): PDF page box to import. InDesign default media.
- `pdf_crop_fallback` (boolean): Fall back to the next larger PDF box with a warning when the requested box is missing. Default true.
- `pdf_page` (integer): Page of a multi-page PDF. Default 1.

### `position_image_in_frame` (~302 tokens)

Position a placed graphic

Move the graphic inside a frame without scaling it; the frame stays as it is (frame bounds, crop edges and page). align puts the graphic's reference point onto the same reference point of the frame (center, top, bottom, left, right, top_left, top_right, bottom_left, bottom_right – e.g. top_left: upper left corners meet, center: centred); offset_mm {x, y} then shifts it by x/y mm (positive = right/down). Pass align, offset_mm or both. Returns frame_id, graphic_id, align, offset_mm, moved_by_mm {x, y}, graphic_bounds_mm, graphic_bounds_before_mm and frame_bounds_mm (relative to page_id, coordinate_space "page"; "spread" on the pasteboard) and fits_frame – a warning when the graphic no longer covers the frame. To change the size use fit_frame.

Input parameters:

- `align` (string): Reference point of graphic and frame that are brought together (one of nine).
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.
- `offset_mm` (object): Shift in mm after align (or from the current position): positive x to the right, positive y down.

### `list_links` (~376 tokens)

List links

List the links (Verknuepfungen) of the document, optionally filtered by path_contains (substring of path or file name, case-insensitive). Per link: link_id, file_name, file_path, status (NORMAL, LINK_MISSING, LINK_OUT_OF_DATE, EMBEDDED), page_id, page_name and frame_id (for a linked story file such as an InCopy story: its first text frame and the page of that frame). Also count. Where the holding object lies: container_id (the frame or object that holds the graphic, also when it lies on no page; for a linked story file its first text frame), container_type, graphic_type (InDesign class of the linked object, e.g. Image, PDF, EPS, Story), location (page, parent_page, pasteboard, anchored – in a story, then with story_id and in_overset true when the anchor sits in overset text –, or unknown), spread_id (the spread or parent spread of the object; for anchored objects the spread of the text frame, null in overset). For an object anchored in overset text InDesign still reports a page_id (the page it would follow) – in_overset true is the reliable sign. A link with page_id null and location pasteboard or anchored with in_overset true is a leftover that does not print. Use it to match pictures to articles by page number or to spot motifs of old issues by file name. Read-only.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `path_contains` (string): Substring of the file path or name.

### `update_links` (~155 tokens)

Update out-of-date links

Update links whose file changed on disk ("Verknuepfung aktualisieren"): link_ids[] (1 to 500) or, without it, every LINK_OUT_OF_DATE link. Ids that are not out of date come back as "nothing to do", no error. Returns results[] {link_id, name, page_name, status_before, status_after}, updated, failed and considered.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `link_ids` (array): Links to update. Default: all out-of-date links.

### `get_frame_text` (~495 tokens)

Read the text of a frame

Read the story of a text frame: story_id, story_length, paragraphs[] {index, start_index, end_index (exclusive, without the break), end_index_incl_break, paragraph_style, text, is_empty, break_type (paragraph, column, frame, page, odd_page, even_page or none for the last paragraph)} and overset for this frame. Column breaks count like paragraph marks; zero-width characters (U+FEFF) are returned as they are. For a threaded frame the whole story is returned, with frame_start_index and frame_end_index marking this frame's portion – pass only_frame_portion true to get only the paragraphs in this frame (text clipped at the frame boundaries, clipped_start/clipped_end mark the cut), and max_chars to cap the text returned (truncated true, paragraphs_omitted counts the rest). Indices always refer to the whole story, so they can be used with set_text_in_range and the *_to_range tools. Also lock_state of the story (none, unmanaged_story, checked_in_story, checked_out_story, locked_story, embedded_story, missing_lock_state, mixed_lock_state; null when unreadable) and managed_file (path of the editorial file for a managed story, home folder as ~; otherwise null) – writing tools refuse checked_in_story, locked_story, missing_lock_state and mixed_lock_state. Read-only. There is no include_overset parameter.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.
- `max_chars` (integer): Budget for the text returned across all paragraphs; the rest is counted in paragraphs_omitted.
- `only_frame_portion` (boolean): true: only the paragraphs shown in this frame, text clipped at its boundaries. Default false = whole story.
- `show_placeholders` (boolean): Show special characters in text as {{…}} placeholders (line_break, nbsp, nbsp_fixed, thin_space, hair_space, soft_hyphen, nb_hyphen, en_dash, em_dash, tab, column_break, frame_break, page_break). Def…

### `set_text` (~461 tokens)

Replace the text of a frame

Replace the whole story of a text frame (really replace, never append): text with real line breaks as paragraph marks ("\n" or "\r\n" in the parameter become paragraph returns; U+2028 stays a forced line break). "" empties the frame. The text takes the document text defaults as local formatting – apply a paragraph style afterwards with apply_paragraph_style_to_range over the whole story. For a threaded frame the entire story across all frames is replaced (warning). Returns frame_id, character_count read back and overset. Stories managed by an editorial workflow (InCopy) that are not checked out here (lock_state checked_in_story, locked_story, missing_lock_state or mixed_lock_state) are refused before anything is written: invalid_state with details.code "story_locked" (details: frame_id, story_id, lock_state, managed_file) – check the story out in the editorial system or in InCopy first. Placeholders in the text become InDesign special characters (placeholders true, default): {{line_break}} (forced line break within the paragraph), {{nbsp}} (no-break space U+00A0), {{nbsp_fixed}} (fixed-width no-break space U+202F), {{thin_space}}, {{hair_space}}, {{soft_hyphen}} (discretionary hyphen), {{nb_hyphen}} (no-break hyphen), {{en_dash}}, {{em_dash}}, {{tab}}, {{column_break}}, {{frame_break}}, {{page_break}}. Unknown {{…}} stay as written with a warning; each placeholder is exactly one character in the story. Returns placeholders_replaced {name: count} and placeholders_unknown[].

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.
- `placeholders` (boolean): Expand {{…}} placeholders into special characters. Default true; false writes them literally.
- `text` (string, required): New text; line breaks become paragraph marks, {{line_break}} a forced line break; "" empties the frame.

### `set_text_in_range` (~693 tokens)

Replace a character range

Replace characters start_index (inclusive) to end_index (exclusive) of the story of a text frame with text; start == end inserts, text "" deletes the range. The new text keeps the formatting of the first replaced character up to its first paragraph mark (keep_format_of "start", default) – also when the range begins a paragraph that follows a paragraph with other formatting; every further new paragraph takes the formatting and paragraph style of the replaced paragraph at the same position (beyond the last one: of the last replaced paragraph). If the range begins with a paragraph mark, the paragraphs merge and the new text continues that paragraph in its formatting. The right way for formatted placeholders and for a full swap (0 to story_length). keep_format_of "before" leaves the choice to InDesign (the range is replaced in one step); "none" removes character style and local character formatting from the new text, so it shows its paragraph style. An insertion (start == end) takes InDesign's formatting of the insertion point unless keep_format_of is "none". An empty line is two line breaks. Indexes come from get_frame_text. Returns frame_id, replaced_chars, inserted_chars, story_length and keep_format_of. Stories managed by an editorial workflow (InCopy) that are not checked out here (lock_state checked_in_story, locked_story, missing_lock_state or mixed_lock_state) are refused before anything is written: invalid_state with details.code "story_locked" (details: frame_id, story_id, lock_state, managed_file) – check the story out in the editorial system or in InCopy first. Placeholders in the text become InDesign special characters (placeholders true, default): {{line_break}} (forced line break within the paragraph), {{nbsp}} (no-break space U+00A0), {{nbsp_fixed}} (fixed-width no-break space U+202F), {{thin_space}}, {{hair_space}}, {{soft_hyphen}} (discretionary hyphen), {{nb_hyphen}} (no-break hyphen), {{en_dash}}, {{em_dash}}, {{tab}}, {{column_break}}, {{frame_brea…

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `end_index` (integer, required): End of the range (exclusive); equal to start_index inserts.
- `frame_id` (integer, required): Object id from get_page_state.
- `keep_format_of` (string): Formatting of the new text: "start" (default) the first replaced character up to the first new paragraph mark, then paragraph by paragraph the replaced paragraph at the same position; "before" whatev…
- `placeholders` (boolean): Expand {{…}} placeholders into special characters. Default true; false writes them literally.
- `start_index` (integer, required): First character to replace (inclusive).
- `text` (string, required): Replacement text; "" deletes. Placeholders such as {{nbsp}} are expanded.

### `find_replace` (~500 tokens)

Find and replace text

Find and replace text in the document or in one frame: find, replace, mode literal or grep (default literal), scope document or frame (frame needs frame_id), include_master_pages, include_hidden_layers, include_locked_layers (all default false), case_sensitive and whole_word (default false). dry_run true only counts and lists up to 200 matches with frame_id, page_name and index – use it before any name replacement. GREP metacharacters: ~M column break, ~R frame break, ~P page break, ~S non-breaking space (a literal U+00A0 is not found in literal mode); a straight " in GREP matches every quote, including typographic ones. Returns replacements, matches_found, scope, mode and master_pages_included. Locked managed stories (editorial workflow, lock_state as in get_frame_text) are never changed: their matches are left out of replacements and matches_found (also in dry_run) and listed in skipped_locked[] {story_id, frame_id, lock_state, managed_file, matches}, with a warning; without include_locked_layers InDesign does not search them, and a warning says how many there are. changes.modified_frame_ids lists the frames with replacements. No undo.

Input parameters:

- `case_sensitive` (boolean): Literal mode: match case. Default false.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `dry_run` (boolean): true: count and list matches, change nothing.
- `find` (string, required): Text or GREP pattern to find.
- `frame_id` (integer): Frame for scope "frame".
- `include_hidden_layers` (boolean): Also search hidden layers. Default false.
- `include_locked_layers` (boolean): Also search locked layers and stories. Default false. Matches in locked managed stories are reported in skipped_locked, never replaced.
- `include_master_pages` (boolean): Also search master pages. Default false.
- `mode` (string): literal (default) or grep.
- `replace` (string): Replacement text; required unless dry_run is true. "" deletes the matches.
- `scope` (string): document (default) or frame (needs frame_id).
- `whole_word` (boolean): Literal mode: whole words only. Default false.

### `list_paragraph_styles` (~232 tokens)

List paragraph and character styles

List the paragraph styles (Absatzformate) of the document, including those in style groups: styles[] {name, style_id, group ("" at top level, "Group/Subgroup" nested), based_on, font_family, font_style, point_size, leading_pt (null when automatic), leading_auto, fill_swatch, alignment, space_before_pt, space_after_pt, hyphenation, tracking, keep_options, hyphenation_options, justification_options, drop_cap {lines, characters, character_style}} and the character styles (Zeichenformate) as character_styles[] {name, style_id, group, based_on, font_family, font_style, point_size, fill_swatch, tracking – null for attributes the style does not set}. Internal styles whose name starts with "[" are excluded (internal_styles_excluded counts them). Read-only.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…

### `define_paragraph_style` (~1612 tokens)

Define a paragraph style

Create a paragraph style (Absatzformat) with name and any of font_family, font_style (exact InDesign style name, e.g. "75 Bold"), size_pt, leading_pt (points or "auto"), alignment (left, center, right, justify = Blocksatz with the last line left), color_hex (creates an RGB swatch named after the hex value) or swatch_name (an existing swatch by exact name – the way to a CMYK or spot colour; not together with color_hex), space_before_pt, space_after_pt, tracking (Laufweite in 1/1000 em), hyphenation, and the option groups keep_options (Umbruchoptionen: keep_with_next, keep_first_lines, keep_last_lines, keep_lines_together, keep_all_lines_together, keep_with_previous, start_paragraph), hyphenation_options (Silbentrennungseinstellungen) and justification_options (Blocksatz-Abstände, composer). Indents in mm: left_indent_mm, first_line_indent_mm (negative for a hanging indent, never further left than the left indent), right_indent_mm, last_line_indent_mm. tab_stops[] {position_mm, alignment left|center|right|character, leader, align_on} replaces the whole tab list ([] clears it); language selects the dictionary by the name InDesign shows, its untranslated name or an ICU locale (de_DE, en_GB – the safest form). The answer reads them back under indents {left_indent_mm, first_line_indent_mm, right_indent_mm, last_line_indent_mm, tab_stops[], language {name, untranslated_name, icu_locale}}. drop_cap {lines (0 = off), characters, character_style} sets the drop cap (Initiale); an opening quotation mark counts as a character, so characters 2 drops it together with the first letter. based_on sets the parent style (Basierend auf), also from a group ("Group/Style" for an ambiguous name); group puts a new style into a style group (Formatgruppe), path "A/B" or ["A", "B"], creating missing groups. The answer adds based_on and group as read back, created_groups[] (paths of groups created by this call) and changes.created_group_ids. InDesign names a family with a format suffix such as…

Input parameters:

- `alignment` (string): Alignment; justify = Blocksatz, last line left.
- `based_on` (string): Parent style (Basierend auf) by exact name, also from a style group; "Group/Style" picks one of several styles with the same name. "[Basic Paragraph]" and "[No Paragraph Style]" name the built-in one…
- `color_hex` (string): Text colour as hex; an RGB swatch named after it is created if needed. Not together with swatch_name.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `drop_cap` (object): Drop cap (Initiale) {lines, characters, character_style}; the answer reads it back as drop_cap {lines, characters, character_style (null without style)}.
- `first_line_indent_mm` (number): First-line indent (Einzug erste Zeile) in mm; negative = hanging indent, at most -left_indent_mm.
- `font_family` (string): Font family, e.g. "Futura PT".
- `font_style` (string): Exact style name, e.g. "Book" or "75 Bold" (see get_font_info_at_index).
- `group`: Style group (Formatgruppe) for a new style; missing groups along the path are created. With group, an existing style counts only in that group (another style of the same name elsewhere is no collisio…
- `hyphenation` (boolean): Hyphenation on or off (Silbentrennung).
- `hyphenation_options` (object): Hyphenation settings (Silbentrennungseinstellungen). The plain hyphenation switch stays a separate parameter. Whatever is omitted stays.
- `justification_options` (object): Justification settings (Abstandseinstellungen für Blocksatz). Whatever is omitted stays. The paragraph composer recomposes the whole paragraph on every change – check get_frame_lines afterwards.
- `keep_options` (object): Keep options (Umbruchoptionen / Absatzkontrolle). Whatever is omitted stays.
- `language` (string): Language of the text (Sprache, for hyphenation and spelling): the name InDesign shows (e.g. "Deutsch: 2006 Rechtschreibreform", "Englisch: Großbritannien"), its untranslated name as InDesign holds it…
- `last_line_indent_mm` (number): Last-line right indent (Einzug letzte Zeile) in mm.
- `leading_pt`: Leading in points, or "auto".
- `left_indent_mm` (number): Left indent (Einzug links) in mm.
- `name` (string, required): Style name; must not start with "[".
- `on_collision` (string): What to do when the name exists: error (default) fails, update changes the existing one, version creates "Name 2".
- `right_indent_mm` (number): Right indent (Einzug rechts) in mm.
- `size_pt` (number): Point size (Schriftgrad).
- `space_after_pt` (number): Space after (Abstand danach) in points.
- `space_before_pt` (number): Space before (Abstand davor) in points.
- `swatch_name` (string): Text colour as an existing swatch by exact name (CMYK, spot, tint or gradient; see list_swatches). Not together with color_hex.
- `tab_stops` (array): Complete list of tab stops (Tabulatoren); replaces every existing tab stop, [] removes all. Text reaches a tab stop through {{tab}} in set_text.
- `tracking` (number): Tracking (Laufweite) in 1/1000 em; a character style with its own tracking replaces this value where it is applied.

### `define_character_style` (~710 tokens)

Define a character style

Create a character style (Zeichenformat) with name and at least one of font_family, font_style (exact InDesign style name), point_size, fill_hex (creates an RGB swatch) or swatch_name (an existing swatch by exact name; not together with fill_hex), and tracking (Laufweite in 1/1000 em, -1000 to 10000; where the style is applied it replaces the tracking of the paragraph style – see apply_character_style_to_range). on_collision: error (default), update or version. Returns style_id, name, collision (none, updated, versioned), existed, applied[] and the definition read back (null for attributes the style leaves untouched); based_on alone is enough for a new style. based_on sets the parent style (Basierend auf), also from a group ("Group/Style" for an ambiguous name); group puts a new style into a style group (Formatgruppe), path "A/B" or ["A", "B"], creating missing groups. The answer adds based_on and group as read back, created_groups[] (paths of groups created by this call) and changes.created_group_ids. InDesign names a family with a format suffix such as "Source Sans 3 (OTF)" or "(TT)" when it knows the family in more than one format; pass the family with or without that suffix – the connector matches both and reads back the name InDesign uses.

Input parameters:

- `based_on` (string): Parent style (Basierend auf) by exact name, also from a style group; "Group/Style" picks one of several styles with the same name. "[None]" names the built-in root in every language. An unknown name…
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `fill_hex` (string): Text colour as hex; an RGB swatch is created if needed. Not together with swatch_name.
- `font_family` (string): Font family.
- `font_style` (string): Exact style name, e.g. "75 Bold".
- `group`: Style group (Formatgruppe) for a new style; missing groups along the path are created. With group, an existing style counts only in that group (another style of the same name elsewhere is no collisio…
- `name` (string, required): Style name; must not start with "[".
- `on_collision` (string): What to do when the name exists: error (default) fails, update changes the existing one, version creates "Name 2".
- `point_size` (number): Point size.
- `swatch_name` (string): Text colour as an existing swatch by exact name (CMYK, spot, tint or gradient; see list_swatches). Not together with fill_hex.
- `tracking` (number): Tracking (Laufweite) in 1/1000 em.

### `apply_paragraph_style_to_range` (~355 tokens)

Apply a paragraph style to a range

Apply a paragraph style (Absatzformat) to every paragraph touched by the character range start_index (inclusive) to end_index (exclusive) of the story of a text frame. Clears paragraph overrides, character styles and local character formatting of those paragraphs; never changes text. Caveat: when start_index is the paragraph mark of the preceding paragraph, that paragraph is formatted too (warning) – start one character later. Recommended order: base style over the whole story first, then the special styles. One call is enough (it runs the clean-up twice internally). Returns frame_id, story_id, style_applied, affected_paragraphs, first_paragraph_start_index and last_paragraph_end_index. Stories managed by an editorial workflow (InCopy) that are not checked out here (lock_state checked_in_story, locked_story, missing_lock_state or mixed_lock_state) are refused before anything is written: invalid_state with details.code "story_locked" (details: frame_id, story_id, lock_state, managed_file) – check the story out in the editorial system or in InCopy first.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `end_index` (integer, required): End of the range (exclusive); must be greater than start_index.
- `frame_id` (integer, required): Object id from get_page_state.
- `start_index` (integer, required): First character of the range (inclusive), a story index from get_frame_text.
- `style_name` (string, required): Paragraph style name (see list_paragraph_styles).

### `apply_character_style_to_range` (~356 tokens)

Apply a character style to a range

Apply an existing character style (Zeichenformat) to the characters start_index (inclusive) to end_index (exclusive) of the story of a text frame. The style must exist (define_character_style; list_paragraph_styles lists them). Never changes text. Returns frame_id, characters_affected, style_applied and tracking {effective, character_style, paragraph_style}: a character style that carries its own tracking replaces the tracking of the paragraph style for that range (it is not added) – a paragraph style with tracking 100 plus a character style with tracking 260 gives 260, visibly wider. effective is what InDesign uses at the first character of the range; character_style is null when the style leaves tracking alone. Stories managed by an editorial workflow (InCopy) that are not checked out here (lock_state checked_in_story, locked_story, missing_lock_state or mixed_lock_state) are refused before anything is written: invalid_state with details.code "story_locked" (details: frame_id, story_id, lock_state, managed_file) – check the story out in the editorial system or in InCopy first.

Input parameters:

- `character_style_name` (string, required): Existing character style name.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `end_index` (integer, required): End of the range (exclusive); must be greater than start_index.
- `frame_id` (integer, required): Object id from get_page_state.
- `start_index` (integer, required): First character of the range (inclusive), a story index from get_frame_text.

### `apply_character_format_to_range` (~496 tokens)

Format a range locally

Local character formatting without a style for the characters start_index (inclusive) to end_index (exclusive) of the story of a text frame: font_style (exact InDesign style name – fetch it with get_font_info_at_index first, "75 Bold" rather than "Bold"; optional font_family to switch the family), swatch_name (an existing swatch, exact name; built-ins are "Black", "Paper", "None"), superscript (true/false), tracking (Laufweite in 1/1000 em, -1000 to 10000; the server configuration can set a tolerance beyond which a warning is given), point_size (0–1296, the only way to a size without a paragraph style). At least one attribute. Never changes text. Returns applied[], point_size_applied, font_family, font_style and fill_color read back at the first character for a cross-check, plus characters_affected. Stories managed by an editorial workflow (InCopy) that are not checked out here (lock_state checked_in_story, locked_story, missing_lock_state or mixed_lock_state) are refused before anything is written: invalid_state with details.code "story_locked" (details: frame_id, story_id, lock_state, managed_file) – check the story out in the editorial system or in InCopy first.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `end_index` (integer, required): End of the range (exclusive); must be greater than start_index.
- `font_family` (string): Font family to switch to (optional; needs the font to be installed unless font_style is given too).
- `font_style` (string): Exact style name within the family, e.g. "75 Bold".
- `frame_id` (integer, required): Object id from get_page_state.
- `point_size` (number): Point size.
- `start_index` (integer, required): First character of the range (inclusive), a story index from get_frame_text.
- `superscript` (boolean): true sets superscript, false resets to normal position.
- `swatch_name` (string): Existing swatch name for the text colour.
- `tracking` (number): Tracking in 1/1000 em.

### `set_paragraph_options` (~990 tokens)

Set paragraph options (alignment, hyphenation, keep, justification)

Set paragraph options of a text frame: alignment (left, center, right, justify_left, justify_center, justify_right, justify_full), hyphenation (true/false – usually false for headlines), no_break (true/false, keeps the text of the paragraphs on one line), and the option groups keep_options (Umbruchoptionen: keep_with_next, keep_first_lines, keep_last_lines, keep_lines_together, keep_all_lines_together, keep_with_previous, start_paragraph), hyphenation_options (Silbentrennungseinstellungen: words_longer_than, after_first, before_last, ladder_limit, zone_mm, capitalized_words, last_word, across_columns, weight) and justification_options (word_spacing, letter_spacing, glyph_scaling, single_word_justification, composer, auto_leading_percent). Indents in mm: left_indent_mm, first_line_indent_mm (negative for a hanging indent, never further left than the left indent), right_indent_mm, last_line_indent_mm. tab_stops[] {position_mm, alignment left|center|right|character, leader, align_on} replaces the whole tab list ([] clears it); language selects the dictionary by the name InDesign shows, its untranslated name or an ICU locale (de_DE, en_GB – the safest form). The answer reads them back under indents {left_indent_mm, first_line_indent_mm, right_indent_mm, last_line_indent_mm, tab_stops[], language {name, untranslated_name, icu_locale}}. drop_cap {lines (0 = off), characters, character_style} sets the drop cap (Initiale); an opening quotation mark counts as a character, so characters 2 drops it together with the first letter. Without start_index/end_index every paragraph of the frame is changed; with them every paragraph the range touches. Returns paragraphs_changed, alignment, hyphenation, no_break, keep_options, hyphenation_options, justification_options, indents, drop_cap of the first paragraph read back after the change, and overset of the story – strict keep options can push text into overset or leave empty column ends; check get_frame_lines.

Input parameters:

- `alignment` (string): Paragraph alignment.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `drop_cap` (object): Drop cap (Initiale) {lines, characters, character_style}; the answer reads it back as drop_cap {lines, characters, character_style (null without style)}.
- `end_index` (integer): Optional range end (exclusive).
- `first_line_indent_mm` (number): First-line indent (Einzug erste Zeile) in mm; negative = hanging indent, at most -left_indent_mm.
- `frame_id` (integer, required): Object id from get_page_state.
- `hyphenation` (boolean): Hyphenation on or off.
- `hyphenation_options` (object): Hyphenation settings (Silbentrennungseinstellungen). The plain hyphenation switch stays a separate parameter. Whatever is omitted stays.
- `justification_options` (object): Justification settings (Abstandseinstellungen für Blocksatz). Whatever is omitted stays. The paragraph composer recomposes the whole paragraph on every change – check get_frame_lines afterwards.
- `keep_options` (object): Keep options (Umbruchoptionen / Absatzkontrolle). Whatever is omitted stays.
- `language` (string): Language of the text (Sprache, for hyphenation and spelling): the name InDesign shows (e.g. "Deutsch: 2006 Rechtschreibreform", "Englisch: Großbritannien"), its untranslated name as InDesign holds it…
- `last_line_indent_mm` (number): Last-line right indent (Einzug letzte Zeile) in mm.
- `left_indent_mm` (number): Left indent (Einzug links) in mm.
- `no_break` (boolean): No-break for the paragraph text.
- `right_indent_mm` (number): Right indent (Einzug rechts) in mm.
- `start_index` (integer): Optional range start (inclusive); without it the whole frame.
- `tab_stops` (array): Complete list of tab stops (Tabulatoren); replaces every existing tab stop, [] removes all. Text reaches a tab stop through {{tab}} in set_text.

### `get_font_info_at_index` (~165 tokens)

Font at a character

Read the font at story index of a text frame: font_family, font_style (the exact style name to use in apply_character_format_to_range or define_paragraph_style), font_status (installed, substituted, not_available), available_styles[] of that family as installed, point_size, paragraph_style, character_style (localized name) and character_style_is_none. Read-only.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.
- `index` (integer, required): Story index of the character (from get_frame_text).

### `find_font_usage` (~275 tokens)

Where is a font used

Find where fonts are used in the document. fonts_used[] {family, style, status (installed, substituted, not_available), occurrences, characters} is always complete; occurrences[] {family, style, status, story_id, frame_ids[], page_id, page_name, is_master, start_index, end_index, snippet} is filtered by font_family and font_style (exact names, case-insensitive – "Futura" does not match "Futura PT"), only_missing (status other than installed) and include_master_pages (default true). Runs of the same family and style are merged; at most 500 occurrences are listed. Read-only.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `font_family` (string): Family to filter occurrences by (case-insensitive; a format suffix such as "(OTF)" may be left out).
- `font_style` (string): Style to filter occurrences by (exact, case-insensitive).
- `include_master_pages` (boolean): Include stories on master pages. Default true.
- `only_missing` (boolean): List only occurrences of fonts that are not installed. Default false.

### `debug_inspect_run` (~305 tokens)

Inspect formatting at a character

Diagnosis only: the effective formatting at story index (default 0) of a text frame – point_size, leading_pt, applied_paragraph_style, applied_character_style (InDesign's own name, localized – "[Ohne]" in German) with character_style_is_none (true when no character style is applied, the language-independent check), fill_color, applied_font, font_style, tracking, horizontal_scale, vertical_scale, style_overridden (local formatting on top of the style), frame_scale {horizontal, vertical} of the frame and paragraph {index (0-based in the story), start_index (story index of its first character), alignment, hyphenation, keep_options, hyphenation_options, justification_options} of the paragraph holding the character. With style_name also style {found, kind, matches, duplicated, nested, groups[], definition} – whether the name occurs more than once or inside a group. The only way to see local formatting hiding behind a correct style name. Read-only.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.
- `index` (integer): Story index to inspect. Default 0.
- `style_name` (string): Paragraph or character style name to look up.

### `create_swatch` (~247 tokens)

Create a colour swatch

Create a process colour swatch (Farbfeld) with the exact name (1–60 characters) from hex (RGB, "#1A2B3C") or cmyk ({c, m, y, k} in percent – for print production); exactly one of the two. on_collision: error (default), update (rewrites the values of the existing colour) or version ("Name 2"). Returns name, swatch_id, collision (none, updated, versioned), existed, space (rgb or cmyk) and values.

Input parameters:

- `cmyk` (object): CMYK values in percent.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `hex` (string): RGB colour as hex.
- `name` (string, required): Exact swatch name; must not start with "[".
- `on_collision` (string): What to do when the name exists: error (default) fails, update changes the existing one, version creates "Name 2".

### `get_frame_options` (~507 tokens)

Options of a frame

Read the options of an object as InDesign holds them: type (text, image, rectangle, ellipse, polygon, line, group, other), page_id/page_name (landing), bounds_mm, rotation_deg, text_wrap {mode, offset_mm}, appearance {fill_color, fill_kind, stroke_color, stroke_kind, stroke_weight_pt, fill_tint_percent, stroke_tint_percent, gradient_fill_angle_deg, gradient_stroke_angle_deg, gradient_fill_start_mm, gradient_fill_length_mm}, corners {top_left {type, radius_mm}, …, uniform} (null for lines and groups), effects {opacity_percent, blend_mode, drop_shadow, feather} of the object and has_effects {fill, stroke, text} (true where something deviates from normal / 100 %), parent_group_id, layer {layer_id, layer_name, visible, locked}, locked (Objekt > Sperren) and anchored {story_id, index, position} (null when the object is not anchored in text). For a text frame additionally text: columns {count, gutter_mm, type, fixed_width_mm}, inset_mm, vertical_justification, vertical_threshold_mm, first_baseline_offset (ascent, cap_height, leading, x_height, fixed, embox_top), min_first_baseline_pt, ignore_text_wrap, optical_margin_alignment and optical_margin_size_pt (story-wide, see set_story_options), threading {story_id, story_length, frame_index, frame_count, previous_frame_id, next_frame_id, overset, story_overset}, first_baseline_mm (baseline of the first line in mm from the top of the page – the direct check whether the first line sits on the baseline grid, if the layout uses one) and character_count. Read-only. Use it to copy the settings of an existing frame before rebuilding it with create_text_frame, set_frame_columns, set_frame_inset and set_text_wrap. Returns coordinate_space ("page" when the object lies on a page, "spread" on the pasteboard): bounds_mm is relative to page_id and can be passed back to set_frame_bounds together with page_id.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.

### `export_page_image` (~483 tokens)

Export pages as images

Export document pages as PNG or JPEG images, one file per page (for proofs, correction mails, the website or a measuring run without PDF). Select pages with page_ids (from list_pages) or page_range like export_pdf ("6-8", "1, 3-5", "+2"; printed page names). path is the target file; with several pages the page name is inserted before the extension (Seite.png → Seite_8.png). format png (default) or jpeg, dpi 36–600 (default 150), quality low/medium/high (default)/maximum, color_space rgb (default), gray or cmyk (jpeg only), transparent_background (png), use_bleed (include the bleed), anti_alias (default true). Master pages cannot be exported. The export preferences are set for this call only and restored. Returns format, dpi, count and files[] {page_id, page_name, path, bytes}. Read the files with an image tool of the client to check a layout visually. A timed-out call may still have written files – check the folder before repeating. For an e-book use export_epub.

Input parameters:

- `anti_alias` (boolean): Smooth edges. Default true.
- `color_space` (string): rgb (default), gray, or cmyk (jpeg only).
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `dpi` (number): Resolution in dpi. Default 150.
- `format` (string): Image format. Default png.
- `page_ids` (array): Pages to export, from list_pages. Alternative to page_range.
- `page_range` (string): Page range against the printed page names, like export_pdf. Alternative to page_ids.
- `path` (string, required): Target file on the InDesign machine, e.g. /Users/.../Seite.png; the page name is inserted before the extension when several pages are exported.
- `quality` (string): Compression quality. Default high.
- `transparent_background` (boolean): PNG only: transparent instead of white background. Default false.
- `use_bleed` (boolean): Include the document bleed (Anschnitt). Default false.

### `place_text_file` (~1072 tokens)

Place a text file

Place a manuscript file (.docx, .doc, .rtf or .txt on the InDesign machine) into a text frame – the cheap way for long articles instead of passing the text as a string. mode replace (default) empties the story first; append adds at the end of the story. retain_formatting false (default) imports plain text (Word styles and local formatting removed) so that paragraph_style (applied to every placed paragraph, like apply_paragraph_style_to_range) gives the document's paragraph style; retain_formatting true keeps Word styles and local formatting and imports the Word paragraph styles (names that already exist in the document are used as they are). style_map {"Word style": "document style"} maps Word paragraph styles to existing document styles after the import (forces retain_formatting true) and removes the mapped Word styles again (styles_removed); every target style must exist. typographers_quotes (default true) converts straight quotes. page_breaks (.docx, .doc, .rtf) decides what becomes of page breaks in the Word file: none (default – they are dropped and the text runs on), page_break (InDesign page breaks, Seitenumbruch – e.g. for a front matter with title, imprint and dedication on pages of their own) or column_break; a Word break in an otherwise empty paragraph leaves that empty paragraph at the top of the next page. Footnotes and endnotes are imported, tables come in as InDesign tables, graphics, index and table of contents are not imported (build them in InDesign with create_toc and with add_index_entry plus generate_index). Returns placed_start_index, placed_end_index and inserted_chars (story indices for the *_to_range tools), story_length, paragraph_count, styles_added (paragraph styles the import created – remove or map them), styles_mapped and overset of the story. autoflow true (Sitzung 8) keeps adding pages after the page of the last frame – same parent page, a frame with the size and frame options of the last one (on facing pages placed into the type ar…

Input parameters:

- `autoflow` (boolean): Add pages and threaded frames until the text fits. Default false.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `file_path` (string, required): Real path of the .docx, .doc, .rtf or .txt file on the machine running InDesign.
- `frame_id` (integer, required): Object id from get_page_state.
- `keep_view` (boolean): Restore the previous view (page and zoom of the layout window) afterwards – InDesign otherwise jumps to the new page. Default true; false lets the view move. The answer carries view_restored (null wh…
- `max_pages` (integer): autoflow: at most this many pages. Default 20.
- `mode` (string): replace (default): empty the story first; append: add at the end of the story.
- `page_breaks` (string): Word files: what page breaks become – none (default, dropped), page_break or column_break. The answer echoes it as page_breaks (null for .txt).
- `paragraph_style` (string): Existing paragraph style applied to every placed paragraph.
- `retain_formatting` (boolean): true keeps Word styles and local formatting. Default false = plain text.
- `style_map` (object): Word paragraph style name → existing document style name; applied after the import.
- `typographers_quotes` (boolean): Convert straight quotes to typographic ones. Default true.

### `autoflow_story` (~387 tokens)

Autoflow an existing story

Continue the autoflow of a story that is already in the document – no file needed: while the story overflows (Übersatz), add a page after the page of its last frame (same parent page) with a threaded frame of the size and frame options of the last frame, exactly as place_text_file with autoflow true does, until the text fits or max_pages (default 20, at most 2000) is reached. frame_id is any text frame of the story. A story that fits already is left as it is (pages_added [] and stopped "fits"). Returns frame_id, story_id, overset and autoflow {pages_added, frames_added[] {frame_id, page_id, bounds_mm, placement, frame_options_copied, frame_options_failed[], frame_options_skipped[], columns {count, gutter_mm}}, overset, stopped} – the same as place_text_file – and view_restored (keep_view, default true). A timed-out call may still have added pages – check list_pages before repeating. Stories managed by an editorial workflow (InCopy) that are not checked out here are refused before anything is written: invalid_state with details.code "story_locked".

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.
- `keep_view` (boolean): Restore the previous view (page and zoom of the layout window) afterwards – InDesign otherwise jumps to the new page. Default true; false lets the view move. The answer carries view_restored (null wh…
- `max_pages` (integer): At most this many pages. Default 20.

### `fit_frame` (~419 tokens)

Fit frame or content

InDesign's fitting commands (Anpassen) as one call. For a graphic frame: content_to_frame (distorts), fit_proportionally (whole picture visible, may leave space), fill_proportionally (frame filled, picture cropped), center_content, or frame_to_content (the frame takes the size of the picture, top left corner stays). For a text frame only frame_to_content: the frame shrinks or grows to its text (Rahmen an Inhalt anpassen) – InDesign fits width and height (the width to the longest line); keep_width true fits the height only and keeps the width (via auto-size height only, reference top left) – the usual choice for headlines and captions; if the layout uses a baseline grid, check the result against it. Returns frame_bounds_before_mm, frame_bounds_mm, frame_changed, and for pictures graphic_bounds_mm, fits_frame and effective_ppi (warning below min_ppi), for text overset. Fails on groups, lines, empty graphic frames and members of a group. Returns coordinate_space ("page", or "spread" on the pasteboard); when the object carries a text wrap the document is recomposed afterwards (recomposed, overset_stories_before, overset_stories_after, overset_changed).

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.
- `keep_width` (boolean): Text frames, frame_to_content: fit the height only and keep the width. Default false = InDesign behaviour (width and height).
- `min_ppi` (number): Effective resolution in ppi below which a warning is given. Default: the configured value, otherwise 300 (the usual offset print value: twice the 150 lpi screen).
- `mode` (string, required): Which fitting to apply.

### `list_swatches` (~255 tokens)

List swatches

List the swatches (Farbfelder) of the document: swatches[] {swatch_id, name, kind (none, color, tint, gradient, mixed_ink), space (RGB, CMYK, LAB, MIXED_INK), model (process, spot, registration), values (RGB 0–255 or CMYK percent; ink percentages for mixed inks), tint_percent and base_color for tints, stop_count, type (linear, radial) and stops[] {index, swatch_name, location, midpoint} for gradients, built_in}. include_built_in false hides None, Black, Paper and Registration. Read-only. Use the exact names for swatch_name parameters (create_rectangle, set_frame_appearance, apply_character_format_to_range); hex parameters create RGB swatches, which print differently from the CMYK swatches of the document.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `include_built_in` (boolean): Also list None, Black, Paper and Registration. Default true.

### `list_stories` (~375 tokens)

List stories

Overview of the stories (Textabschnitte) of the document: which frames belong to which story and in what order, and which story overflows. stories[] {story_id, frame_ids (chain order), frame_count, frames[] {frame_id, index, page_id, page_name, on_pasteboard, on_parent_page, bounds_mm}, character_count, paragraph_count, table_count, overset, on_parent_page, first_page_id, first_page_name, first_paragraph_style, snippet, lock_state, managed_file}, count, total_stories, overset_count (warning when above 0). Stories on parent pages are skipped unless include_parent_pages true; empty stories are listed unless include_empty false; page_id keeps only stories with a frame on that page. lock_state is the state of a story in an editorial workflow such as InCopy (none, unmanaged_story, checked_in_story, checked_out_story, locked_story, embedded_story, missing_lock_state, mixed_lock_state; null when unreadable); managed_file is the path of its editorial file (home folder as ~) for managed stories, otherwise null. Read-only. get_frame_text reads one story; thread_text_frames changes the chain.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `include_empty` (boolean): List stories without text. Default true.
- `include_parent_pages` (boolean): Also list stories on parent (master) pages. Default false.
- `page_id` (integer): Only stories that have a frame on this page.
- `snippet_chars` (integer): Length of the text snippet per story. Default 80.

### `anchor_frame_in_text` (~668 tokens)

Anchor object in text

Anchor a frame, picture, line or group at a text position (verankertes Objekt) so it moves with the text on reflow: target_frame_id names a frame of the story, index the character position (default: end of the story), position inline (on the baseline), above_line, or custom with offset_mm {x, y}, anchor_point, horizontal_reference (anchor_location, column_edge, text_frame, page_margins, page_edge), vertical_reference (line_baseline, line_xheight, line_ascent, cap_height, top_of_leading, embox_top, embox_middle, embox_bottom, column_edge, text_frame, page_margins, page_edge), horizontal_alignment (left, center, right, text), vertical_alignment (top, center, bottom), keep_within_frame, lock_position. For above_line, horizontal_alignment (left, center, right, text) aligns the object in the text column and space_before_mm/space_after_mm set the space before and after it (Abstand davor/danach). The object leaves its page and becomes part of the story (an U+FFFC character at index). Returns frame_id (read back; a new id is warned), story_id, index, story_length, settings (for above_line with space_before_mm, space_after_mm), bounds_mm, page_id (the page the anchored object stands on after the story is recomposed) and story_overset (warning). Fails on group members, already anchored objects, a frame of the target story, locked layers. An anchored object leaves its place on the page and follows the text on reflow – anchor deliberately (captions, marginalia, inline symbols) and leave objects that must keep their position unanchored.

Input parameters:

- `anchor_point` (string): custom only: reference point on the object.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.
- `horizontal_alignment` (string): custom and above_line (above_line: alignment in the text column).
- `horizontal_reference` (string): custom only.
- `index` (integer): Character index in the story (0 = before the first character). Default: end of the story.
- `keep_within_frame` (boolean): custom only: keep the object within the top and bottom of the text frame (pin position).
- `lock_position` (boolean): custom only: prevent manual dragging.
- `offset_mm` (object): custom only: offset in mm (x right, y down).
- `position` (string): inline (default), above_line or custom.
- `space_after_mm` (number): above_line only: space after the object (Abstand danach) in mm.
- `space_before_mm` (number): above_line only: space before the object (Abstand davor) in mm.
- `target_frame_id` (integer, required): A text frame of the story to anchor into.
- `vertical_alignment` (string): custom only.
- `vertical_reference` (string): custom only.

### `list_sections` (~170 tokens)

List sections

List the sections (Abschnitte) of the document that control page numbering: sections[] {section_id, name, start_page_id, start_page_name, start_page_index, length, continue_numbering, page_number_start, page_number_style (arabic, upper_roman, lower_roman, upper_letters, lower_letters, or a custom list name), section_prefix, include_section_prefix, marker}, count, and pages[] {page_id, name} with the page names as they result. Read-only. Every document has a section on its first page.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…

### `set_section` (~358 tokens)

Start or change a section

Start a section on page_id or change the one starting there: page_number_start (sets continue_numbering false), continue_numbering, page_number_style (arabic, upper_roman, lower_roman, upper_letters, lower_letters), section_prefix (up to 8 characters), include_section_prefix, marker (text for the section marker), name. remove true deletes the section starting on page_id (never the first). Returns created, section (read back), previous, sections[] and pages[] {page_id, name} – page names change with the numbering, so re-read them before using page names in export_pdf ranges. Use it for an issue that starts at page 3, roman front matter, or a supplement with its own numbering.

Input parameters:

- `continue_numbering` (boolean): true: continue from the previous section.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `include_section_prefix` (boolean): Show the prefix in page numbers.
- `marker` (string): Section marker text (Abschnittsmarke).
- `name` (string): Section name.
- `page_id` (integer, required): Document page on which the section starts (from list_pages).
- `page_number_start` (integer): Page number of the first page of the section; implies continue_numbering false.
- `page_number_style` (string): Numbering style.
- `remove` (boolean): Remove the section starting on page_id. Not combinable with other settings.
- `section_prefix` (string): Prefix before the page number, up to 8 characters.

### `set_document_setup` (~493 tokens)

Change document setup

Change the document setup (Dokument einrichten) of an existing document: page size via preset (A4, Letter, Legal, Tabloid) or width_mm/height_mm, orientation (swaps width and height), facing_pages, pages (page count – a lower count deletes the last pages with their contents and needs allow_page_removal true), start_page_number. At least one parameter. Margins and bleed are set with set_layout_grid and set_document_bleed. Objects are not adjusted to a new page size – unless InDesign's own layout adjustment is active (Adjust Layout, or a liquid layout rule such as scale on a page or parent page): then InDesign moves or stretches them. adjust_layout false switches both off for this call only (rules and setting are restored afterwards), so objects keep their size; true switches Adjust Layout on for this call; omitted leaves InDesign's settings as they are and warns when a page size change met an active adjustment. To widen the inside margin (Bundsteg) without stretching frames use set_layout_grid with move_objects. Returns setup (read back), previous, pages_added, pages_removed, changed and layout_adjustment {requested, active_before[], layout_rules_suspended}; warns when the page size or facing pages changed.

Input parameters:

- `adjust_layout` (boolean): false: no layout adjustment for this call (Adjust Layout and liquid layout rules off, restored afterwards); true: Adjust Layout on for this call. Default: as set in InDesign.
- `allow_page_removal` (boolean): Confirm that a lower page count may delete pages with their contents.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `facing_pages` (boolean): Facing pages (Doppelseiten) on or off.
- `height_mm` (number): Page height in mm.
- `orientation` (string): Swaps width and height when they do not match.
- `pages` (integer): Page count. Fewer than now deletes pages (allow_page_removal).
- `preset` (string): Page size preset.
- `start_page_number` (integer): Number of the first page (document preference; sections may override it).
- `width_mm` (number): Page width in mm.

### `list_text_variables` (~172 tokens)

List text variables

List the text variables (Textvariablen) of the document: variables[] {name, type (custom_text, running_header_paragraph, running_header_character, file_name, output_date, creation_date, modification_date, last_page_number, chapter_number, or the raw type), options per type (text; paragraph_style/character_style, use first|last, text_before, text_after, delete_end_punctuation; include_extension, include_path; format), instance_count (instances in the stories)}, count. Read-only. Every document carries InDesign's default variables.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…

### `create_text_variable` (~409 tokens)

Create or update a text variable

Create a text variable (Textvariable) or update the options of an existing one with the same name and type: type custom_text (text), running_header_paragraph (paragraph_style, use first|last, text_before, text_after, delete_end_punctuation), running_header_character (character_style, …), file_name (include_extension, include_path, text_before, text_after), output_date/creation_date/modification_date (date_format, text_before, text_after), last_page_number, chapter_number. remove true deletes the variable (and its instances in the text – warning). A running header from the headline style is the classic use on parent pages: create the variable, then insert_text_variable into a frame on the parent page.

Input parameters:

- `character_style` (string): running_header_character: character style to pick the text from.
- `date_format` (string): Date variables: format string as in InDesign (e.g. dd.MM.yyyy).
- `delete_end_punctuation` (boolean): Running headers: drop end punctuation.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `include_extension` (boolean): file_name: include the extension.
- `include_path` (boolean): file_name: include the folder path.
- `name` (string, required): Name of the text variable, exact.
- `paragraph_style` (string): running_header_paragraph: paragraph style to pick the text from.
- `remove` (boolean): Delete the variable named name.
- `text` (string): custom_text: the text.
- `text_after` (string): Text after the value.
- `text_before` (string): Text before the value.
- `type` (string): Variable type; required unless remove.
- `use` (string): Running headers: first or last occurrence on the page. Default first.

### `insert_text_variable` (~176 tokens)

Insert a text variable

Insert an instance of a text variable at a text position: frame_id (a frame of the story, also on a parent page), name, index (default: end of the story). Returns instance_id, story_id, frame_id, index, result_text (what the variable shows there), story_length, overset. The instance counts as one character in the story.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `frame_id` (integer, required): Object id from get_page_state.
- `index` (integer): Character index in the story. Default: end.
- `name` (string, required): Name of the text variable, exact.

### `save_document_as` (~253 tokens)

Save a copy or switch file

Write the document to another file: mode copy (default) saves a copy (Kopie speichern) and the open document keeps its own file – the way to start the next issue from the current one; mode switch saves under the new name and the open document continues there (Speichern unter). template true writes an .indt. An existing file needs overwrite true. Returns path, bytes, overwritten, name and document_path of the open document afterwards. save_document is for saving in place. With managed stories (editorial workflow) both modes warn: the new file links to the same story files but is not bound to the editorial workflow.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `mode` (string): copy (default) or switch.
- `overwrite` (boolean): Replace an existing file. Default false.
- `path` (string, required): Target file path, ending in .indd or .indt, in an existing folder.
- `template` (boolean): Write as template (.indt / stationery). Default false.

### `list_toc_styles` (~231 tokens)

List table of contents styles

List the table of contents styles (Inhaltsverzeichnisformate) of the document: toc_styles[] {name, title, title_style, include_hidden_layers, run_in, include_book_documents, create_bookmarks, entries[] {paragraph_style (the style whose paragraphs become entries), level, entry_style (paragraph style of the entry in the TOC), page_number_position after|before|none, separator, page_number_style, separator_style, sort_alphabetical}}, count, and toc_stories[] {story_id, frame_ids, page_ids, page_names, paragraph_count, length, overset} – the tables of contents already in the document. Every document carries InDesign's default style (localized name, e.g. "[Default]"). A style name shown in square brackets such as "[Same style]" means InDesign's default. Read-only.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…

### `define_toc_style` (~383 tokens)

Create or change a table of contents style

Create a table of contents style (Inhaltsverzeichnisformat) or change the one with the same name: title (heading of the TOC, "" for none), title_style, entries[] in TOC order – each {paragraph_style (paragraphs with this style become entries), level (1 = top, default 1), entry_style (paragraph style for the entry), page_number_position after (default) | before | none, separator (between entry text and page number, e.g. "^t" for a tab), page_number_style, separator_style, sort_alphabetical}. entries replaces all entries of an existing style; a new style needs entries. include_hidden_layers, run_in (lowest level on one line), create_bookmarks (PDF bookmarks). Every named style must exist (not_found; create them with define_paragraph_style / define_character_style). remove true deletes the style. Returns created, updated, removed and toc_style (as list_toc_styles). Then call create_toc.

Input parameters:

- `create_bookmarks` (boolean): Create PDF bookmarks from the entries.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `entries` (array): Entries in TOC order; replaces all entries of an existing style.
- `include_hidden_layers` (boolean): Include text on hidden layers.
- `name` (string, required): Name of the TOC style, exact.
- `remove` (boolean): Delete the TOC style named name.
- `run_in` (boolean): Run the lowest level into one paragraph.
- `title` (string): Title above the TOC; "" for none.
- `title_style` (string): Paragraph style for the title.

### `create_toc` (~504 tokens)

Create or update a table of contents

Generate a table of contents (Inhaltsverzeichnis) from a TOC style (list_toc_styles, define_toc_style) into a new text frame on page_id – at position_mm (InDesign sizes the frame up to the margins) or exactly at bounds_mm. replace true updates the existing table of contents in its frame (after text or page changes) – page numbers are not live, so run it again after every change. include_overset also lists headings in overset text. Returns story_id, frame_id, frame_ids, page_id, page_name, page_ids, page_names, bounds_mm (of the first frame, relative to its page), paragraph_count, length, overset, replaced and lines[] {text, paragraph_style} (first 500 paragraphs; lines_truncated). Plus toc_style and entry_count (non-empty paragraphs except the title; null when lines_truncated). Warnings: no entries (no paragraph uses the styles), overset (enlarge or thread the frame), a second table of contents. The view of the layout window stays (keep_view, default true). Text placed with place_text_file brings no table of contents from Word – build it here.

Input parameters:

- `bounds_mm` (object): Exact position and size in mm on page_id, set after InDesign created the frame (overrides position_mm).
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `include_overset` (boolean): Also read text in overset (Übersatz). Default false.
- `keep_view` (boolean): Keep the layout window on its page (default true).
- `layer_name` (string): Layer (Ebene) for the new frame, exact name of an existing layer. Default: the active layer.
- `page_id` (integer): Document page that gets the new frame (from list_pages). Required unless replace.
- `position_mm` (object): Top left corner of the new frame on page_id; InDesign chooses width and height. Default: top left margin corner.
- `replace` (boolean): Update the existing one in its frame instead of creating another (default false). Without an existing one a new one is created (warning).
- `toc_style` (string, required): Name of the TOC style.

### `add_index_entry` (~691 tokens)

Add an index entry

Add an index entry (Registereintrag): topic as a path of 1 to 4 levels (missing levels are created), sort_as (sort key per level). Where it points: a text range of a story (frame_id with start_index and optional end_index, indices as get_frame_text) or find_text – every occurrence in the document or, with frame_id, in that story (case_sensitive, whole_word, max_matches default 100; text of tables of contents and indexes is skipped). page_reference_type current_page (default), to_next_style_change, to_next_use_of_style (limit_paragraph_style), to_end_of_story, to_end_of_section, to_end_of_document, for_next_paragraphs or for_next_pages (limit_count), suppress_page_numbers; page_number_style overrides the character style of the page number. cross_reference {type see (default) | see_also | see_or_see_also | see_herein | see_also_herein | custom | custom_before | custom_after, topic (path, created if missing), custom_text} adds a "see" reference instead of or besides the page reference. A page reference inserts an invisible marker character before its source, so story indices behind it shift by one. Stories that are locked by an editorial workflow (lock_state) are refused (story_locked) or, with find_text, skipped (skipped_locked). Returns topic, index_created, created_topics[] (paths), page_references[] {page_reference_id, type, page_id, page_name, frame_id, story_id, index, in_overset}, page_reference_count, matches_found, skipped_locked, cross_reference. Then generate_index.

Input parameters:

- `case_sensitive` (boolean): find_text: match case. Default false.
- `cross_reference` (object): "See" reference from topic to another topic.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `end_index` (integer): End of the range (exclusive). Default start_index (a text position).
- `find_text` (string): Mark every occurrence of this text.
- `frame_id` (integer): Text frame of the story: with start_index the range, with find_text limits the search to this story.
- `limit_count` (integer): for_next_paragraphs / for_next_pages: number of paragraphs or pages.
- `limit_paragraph_style` (string): to_next_use_of_style: the paragraph style that ends the range (default: the style of the entry paragraph).
- `max_matches` (integer): find_text: at most this many page references (default 100).
- `page_number_style` (string): Character style for this page number.
- `page_reference_type` (string): Page range of the reference. Default current_page.
- `sort_as` (array): Sort key per level ("" keeps the topic name).
- `start_index` (integer): First character of the range in the story.
- `topic` (array, required): Topic as a path of 1 to 4 levels, top level first, e.g. ["Fruit", "Apples"].
- `whole_word` (boolean): find_text: whole words only. Default false.

### `list_index` (~255 tokens)

List index topics

List the index (Register) of the document: index_exists, topics[] in tree order {path, level, name, sort_as, page_reference_count, cross_reference_count, page_references[] {page_reference_id, type, page_id, page_name, frame_id, story_id, index, in_overset}, cross_references[] {cross_reference_id, type, topic (path), custom_text}}, topic_count, page_reference_count, cross_reference_count and index_stories[] {story_id, frame_ids, page_ids, page_names, paragraph_count, length, overset} – generated indexes in the document. topic_contains filters by any level (case-insensitive; sub-topics of a match are only listed if they match too); include_references false leaves out the reference lists. Read-only.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `include_references` (boolean): List page and cross references per topic (default true).
- `topic_contains` (string): Only topics whose path contains this text.

### `generate_index` (~698 tokens)

Generate or update the index

Generate the index (Register) from the entries of add_index_entry into a new text frame on page_id – at position_mm or exactly at bounds_mm; autoflow true lets InDesign add frames and pages until it fits (pages_added). replace true updates the existing index in its frame. Options (InDesign keeps them in the document for the next run): title ("" for none), title_style, format nested (default) | run_in, include_section_headings (letters A–Z), include_empty_sections, include_hidden_layers, level_styles[] (paragraph styles for levels 1–4), section_heading_style, page_number_style, cross_reference_style, cross_reference_topic_style, separators {following_topic, between_entries, page_range, between_page_numbers, before_cross_reference, entry_end} (metacharacters allowed, e.g. "^=" en dash). Without level styles InDesign creates its own index paragraph styles (localized names). Returns story_id, frame_id, frame_ids, page_id, page_name, page_ids, page_names, bounds_mm (of the first frame, relative to its page), paragraph_count, length, overset, replaced and lines[] {text, paragraph_style} (first 500 paragraphs; lines_truncated). Plus pages_added. Text placed with place_text_file brings no index from Word – build it with add_index_entry.

Input parameters:

- `autoflow` (boolean): Add frames and pages until the index fits (default false).
- `bounds_mm` (object): Exact position and size in mm on page_id, set after InDesign created the frame (overrides position_mm).
- `cross_reference_style` (string): Character style for "see" words.
- `cross_reference_topic_style` (string): Character style for referenced topics.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `format` (string): Sub-topics on own lines (nested) or run in.
- `include_empty_sections` (boolean): Also letters without topics.
- `include_hidden_layers` (boolean): Include entries on hidden layers.
- `include_overset` (boolean): Also read text in overset (Übersatz). Default false.
- `include_section_headings` (boolean): Letter headings A–Z.
- `layer_name` (string): Layer (Ebene) for the new frame, exact name of an existing layer. Default: the active layer.
- `level_styles` (array): Paragraph styles for topic levels 1–4.
- `page_id` (integer): Document page that gets the new frame (from list_pages). Required unless replace.
- `page_number_style` (string): Character style for page numbers.
- `position_mm` (object): Top left corner of the new frame on page_id; InDesign chooses width and height. Default: top left margin corner.
- `replace` (boolean): Update the existing one in its frame instead of creating another (default false). Without an existing one a new one is created (warning).
- `section_heading_style` (string): Paragraph style for the letter headings.
- `separators` (object): Separators of the generated index.
- `title` (string): Index title; "" for none.
- `title_style` (string): Paragraph style for the title.

### `check_print_on_demand` (~660 tokens)

Check a book for print-on-demand

Check the interior of a book (Innenteil) against the limits of a print-on-demand service before upload. Read-only. Each limit comes from the call or, when omitted, from the server configuration (print_on_demand); a check without a limit is reported as skipped – take the values from the printer's current specification. Checks[] {check, status pass|fail|skipped, required, actual, findings[]}: page_count (min_page_count, max_page_count, page_count_multiple); inside_margin (the inside margin, Bundsteg, of every page against the tier for the page count: inside_margin_tiers [{max_pages, min_mm}], the first tier whose max_pages is not below the page count); outside_margins (outside, top and bottom margin of every page against min_outside_margin_mm); bleed (on facing pages the inside bleed must be 0 – InDesign keeps it as left/inside –, top, bottom and outside equal bleed_mm within bleed_tolerance_mm (default 0.1), and objects reaching beyond the trim need bleed at all); objects_in_margin (objects that do not bleed but come closer to the trim than the minimum margins); objects_across_spine (facing pages: objects reaching over the spine into the facing page – cut off there when the inside bleed is 0); min_font_size (every text run, also on parent pages and in overset text, against min_font_size_pt); image_resolution (effective ppi of placed pixel images against min_ppi; placed PDF/EPS are skipped); fonts (every document font installed and allowed for PDF embedding – whether the fonts are really embedded only the exported PDF shows). Returns passed (no check failed), failed_checks[], skipped_checks[], page_count, facing_pages, page_size_mm, checks[], findings_total and findings_truncated (max_findings, default 200, over all checks). Export for upload with export_pdf and use_document_bleed true.

Input parameters:

- `bleed_mm` (number): Required bleed at top, bottom and outside in mm.
- `bleed_tolerance_mm` (number): Allowed difference to bleed_mm in mm. Default 0.1.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `inside_margin_tiers` (array): Inside margin (Bundsteg) per page-count tier, one entry per tier in any order.
- `max_findings` (integer): Cap for findings over all checks. Default 200.
- `max_page_count` (integer): Most pages allowed.
- `min_font_size_pt` (number): Smallest font size in pt.
- `min_outside_margin_mm` (number): Smallest outside, top and bottom margin in mm.
- `min_page_count` (integer): Fewest pages allowed.
- `min_ppi` (number): Lowest effective resolution of pixel images. Default: the configured min_ppi.
- `page_count_multiple` (integer): The page count must be a multiple of this (e.g. 2 for an even count).

### `create_book_cover` (~556 tokens)

Create a book cover document

Create a new document for the one-piece cover of a paperback (Umschlag: back cover, spine, front cover side by side) from the page_count of the interior, its trim size (trim_width_mm, trim_height_mm, Endformat) and the paper thickness per page as the printer states it (spine_per_page_mm or spine_per_page_in; the inch value wins when both are set): spine width = page_count × thickness, page width = 2 × trim width + spine, height = trim height. bleed_mm becomes the document bleed on all four sides (export with export_pdf and use_document_bleed true; the PDF then measures page size plus twice the bleed). safety_margin_mm sets the margins (Satzspiegel guides) on all sides. Vertical guides mark both spine folds; spine_safety_mm adds two guides inside the spine for spine text. barcode_area {width_mm, height_mm, offset_x_mm (from the spine fold), offset_y_mm (from the bottom trim)} reserves the space for the barcode on the back cover as a non-printing empty frame named barcode_area. Every value can come from the call or the server configuration (print_on_demand); take them from the printer's current specification. The new document is unsaved (save_document with path). Returns document_id, name, page_id, page_count, spine_width_mm, spine_width_in, trim_size and size_with_bleed {width/height in mm, pt and in}, bleed_mm, safety_margin_mm, back_cover_mm, spine_mm, front_cover_mm {x, width}, guides[] {guide_id, role, position_mm}, barcode_frame_id and barcode_area_mm.

Input parameters:

- `barcode_area` (object): Space for the barcode on the back cover. Default: the configured area, otherwise none.
- `bleed_mm` (number): Bleed on all sides in mm. Default: the configured value, otherwise 0 with a warning.
- `page_count` (integer, required): Required. Number of interior pages.
- `safety_margin_mm` (number): Margin on all sides in mm. Default: the configured value, otherwise 0.
- `spine_per_page_in` (number): Paper thickness per page in inches (wins over spine_per_page_mm).
- `spine_per_page_mm` (number): Paper thickness per page in mm. Default: the configured value.
- `spine_safety_mm` (number): Distance of the spine text guides from each fold in mm. Default: the configured value, otherwise none.
- `trim_height_mm` (number, required): Required. Trim height of the book in mm.
- `trim_width_mm` (number, required): Required. Trim width of the book in mm.

### `export_epub` (~914 tokens)

Export as EPUB

Export the document as an e-book (EPUB) to path (a .epub file; an existing file only with overwrite true, otherwise io_error with details.code file_exists). layout is required: reflowable (text reflows to the reader's screen and font size; for text-led books) or fixed_layout (every page keeps its layout; for picture books, comics, heavily designed pages). Options apply to this call only and are restored afterwards: epub_version 2 or 3 (reflowable; fixed layout is always EPUB 3), cover none | first_page | image (with cover_image_path, a JPEG, PNG or GIF that must exist), toc_style (an existing TOC style, see list_toc_styles and define_toc_style – it builds the EPUB navigation; without it the navigation lists only file names), image_resolution 72 | 96 | 150 | 300 ppi, image_format automatic | jpeg | png | gif, jpeg_quality low | medium | high | maximum; reflowable only: export_order layout | articles | xml, split_by_paragraph_style (start a new file at each paragraph of this style, e.g. chapter headings), embed_fonts; fixed layout only: page_range (printed page names like export_pdf), spread_control document | physical | synthetic | none, orientation portrait | landscape | auto (InDesign itself writes landscape even for upright pages, which locks reading apps to landscape; the server therefore sets the orientation in the finished file – by default from the page format – and returns orientation_set {value, previous, changed}). metadata {title, creator, publisher, description, subject, rights, date, identifier} goes into the package (an identifier such as urn:isbn:… is added next to InDesign's own unique id); the EPUB language comes from the document's default language (text defaults), not from a parameter. Returns path, bytes, overwritten, layout, settings_used (the values InDesign exported with), document_language, settings_changed_for_export and document_marked_modified – InDesign marks the document as modified whenever an export setting is set, although the setting…

Input parameters:

- `cover` (string): Cover inside the EPUB. Default: as set in the document.
- `cover_image_path` (string): Cover image file (JPEG, PNG or GIF) for cover image.
- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `embed_fonts` (boolean): Reflowable: embed the fonts.
- `epub_version` (string): EPUB version for reflowable export. Default: as set in the document.
- `export_order` (string): Reflowable: content order – layout, Articles panel or XML structure.
- `image_format` (string): Image conversion.
- `image_resolution` (string): Image resolution in ppi.
- `jpeg_quality` (string): JPEG quality.
- `layout` (string, required): Required. reflowable or fixed_layout.
- `metadata` (object): Package metadata (Dublin Core).
- `orientation` (string): Fixed layout: reading orientation written into the EPUB (rendition:orientation). Default: from the page format – portrait for upright pages, landscape for wide pages, auto for square pages.
- `overwrite` (boolean): Replace an existing file at path. Default false.
- `page_range` (string): Fixed layout: pages to export by printed page name, e.g. "1-12".
- `path` (string, required): Required. Target .epub path on the machine running InDesign.
- `split_by_paragraph_style` (string): Reflowable: start a new content file at every paragraph of this paragraph style.
- `spread_control` (string): Fixed layout: spreads as in the document, physical, synthetic or none.
- `toc_style` (string): Existing TOC style that builds the EPUB navigation.

### `check_epub` (~601 tokens)

Check a book for EPUB

Check an e-book before and after export_epub. Read-only. Without path it checks the document in InDesign for the given layout (reflowable, default, or fixed_layout): document_language (an EPUB needs dc:language – error when the text defaults have no language), toc_style (error when the named toc_style does not exist; warning when no TOC style is set for the EPUB), metadata (warning without title or creator in the EPUB settings), and for reflowable unanchored_objects (graphics and groups on pages that are not anchored in the text flow – their place in the EPUB follows the export order; anchor_frame_in_text), parent_page_objects (content on parent pages, left out of a reflowable EPUB – fine for running heads and page numbers) and paragraph_styles (stories with basic paragraph styles), image_resolution against min_ppi (from the call or the server configuration epub.min_ppi; skipped without a limit) and fonts (not installed – an error for fixed layout, which needs embedded fonts). With path it checks the finished .epub file without InDesign: zip_structure (mimetype first and uncompressed), container (META-INF/container.xml and the package document), opf_metadata (version, dc:title, dc:language, dc:identifier matching unique-identifier; warning without dc:creator), manifest_files (every manifest file present, spine entries in the manifest), navigation (EPUB 3 nav with a toc, EPUB 2 NCX), references (src and href in the content files point to files in the archive) and cover (warning without a cover image). Returns passed (no error), checked document | file, checks_run[], errors, findings[] {check, severity error | warning, page_id, page_name, object_id or file, hint}, findings_total and findings_truncated (max_findings, default 200); with path also epub_version, layout, title, language, creators[], identifiers[], file_count, nav_document, nav_entries, ncx, cover_image, fonts[] and fonts_obfuscated. It does not replace EPUBCheck or the e-book shop's own preview tool.

Input parameters:

- `document_id` (integer): Document to act on, from list_documents or open_document. Without it the frontmost document is used. A document opened with show_window false is never the active one and must always be addressed by i…
- `layout` (string): Document check: the planned layout. Default reflowable.
- `max_findings` (integer): Cap for findings. Default 200.
- `min_ppi` (number): Document check: lowest effective image resolution. Default: the configured epub.min_ppi, otherwise not checked.
- `path` (string): An exported .epub file to check without InDesign. Without it the document is checked.
- `toc_style` (string): Document check: the TOC style planned for export_epub.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/com-mcp-interfaces-layoutbridge-light/layoutbridge-light#diagnostics

## Score history

- 2026-11-04: 61
- 2026-11-03: 60
- 2026-11-02: 60
- 2026-11-01: 59

## Common questions

### What is the LayoutBridge Light for Adobe InDesign® MCP server?

LayoutBridge Light for Adobe InDesign® is an MCP server listed in the public MCP registry as com.mcp-interfaces/layoutbridge-light. layoutbridge-light – book typesetting in Adobe® InDesign® via MCP: text, styles, TOC, PDF, EPUB. This page covers its npm package (layoutbridge-light).

### Is the LayoutBridge Light for Adobe InDesign® MCP server safe to use?

LayoutBridge Light for Adobe InDesign® scores 61 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 4 November 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the LayoutBridge Light for Adobe InDesign® MCP server expose?

LayoutBridge Light for Adobe InDesign® exposes 77 tools: get_app_version, list_documents, open_document, close_document, list_pages, and 72 more. Their descriptions and schemas cost roughly 32,033 tokens of context every time the server is loaded.

### Is the LayoutBridge Light for Adobe InDesign® MCP server still maintained?

LayoutBridge Light for Adobe InDesign® is still listed as active in the MCP registry. We last reached this channel on 4 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

## Links

- npm package: https://www.npmjs.com/package/layoutbridge-light
- Socket report: https://socket.dev/npm/package/layoutbridge-light
- Website: https://mcp-interfaces.com/layoutbridge-light/
- Changelog RSS feed: https://verifymcp.io/servers/com-mcp-interfaces-layoutbridge-light/layoutbridge-light.xml
- Changelog JSON feed: https://verifymcp.io/servers/com-mcp-interfaces-layoutbridge-light/layoutbridge-light.json
- HTML version of this page: https://verifymcp.io/servers/com-mcp-interfaces-layoutbridge-light/layoutbridge-light
