{"id":226471,"target_id":"41b35a853f7f910b","observed_at":"2026-11-29T21:10:32Z","from_subject":"sha256-z1U4O/L8b5ovIaZOHVPQBs2+N1611LBfrYfYm19Lqc0=","to_subject":"sha256-swl1n5Z/ybvNyjaoLuFw5NbFATZ5uLzYG4kyd/5m2DA=","from_toolset":"sha256-OOJyh9LafPbvBDc+ZckSLbC8sQFR16fSZPA7TohmG94=","to_toolset":"sha256-7zNygGhUQGDqUdcLwXSVw9ElEvLPZ1ZUOUSUA7WyLAU=","summary":{"added":[],"removed":[],"modified":[{"tool":"add_index_entry","fields":{"description":[["=","Add an index entry "],["-","(Registereintrag):"],["+","(Registereintrag) for"],["="," topic "],["-","as a path of 1"],["+","(1"],["="," to 4 "],["-","levels"],["+","levels;"],["="," "],["-","(missing"],["+","missing"],["="," levels are "],["-","created),"],["+","created)."],["="," "],["-","sort_as"],["+","It"],["="," "],["-","(sort"],["+","points"],["="," "],["-","key per level). Where it points:"],["+","at"],["="," a text range"],["-"," of a story"],["="," (frame_id with start_index and optional end_index, indices as get_frame_text) or "],["-","find_text –"],["+","at"],["="," every occurrence"],["+"," of find_text"],["="," in the document or, with frame_id, in that story "],["-","(case_sensitive, whole_word, max_matches default 100; text"],["+","(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),"],["+","uses"],["="," "],["-","to_end_of_story,"],["+","limit_paragraph_style,"],["="," "],["-","to_end_of_section,"],["+","for_next_paragraphs/for_next_pages"],["="," "],["-","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."],["+","limit_count."],["="," cross_reference {type see (default) | see_also | see_or_see_also | see_herein | see_also_herein | custom | custom_before | custom_after, topic "],["-","(path, created"],["+","(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),"],["+","created_topics[],"],["="," page_references[] {page_reference_id, type, page_id, page_name, frame_id, story_id, index, in_overset}, page_reference_count, matches_found, "],["-","skipped_locked,"],["+","skipped_locked and"],["="," cross_reference. Then generate_index."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"add_page","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""},{"path":"$.\"properties\".\"keep_view\".\"description\"","old":"\"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 when the document has no window).\"","new":"\"Restore the view (page and zoom) afterwards; InDesign otherwise jumps to the new page. Default true. The answer carries view_restored (null without a window).\""}]}},{"tool":"align_objects","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"anchor_frame_in_text","fields":{"description":[["=","Anchor a frame, picture, line or group at a text position (verankertes Objekt) so it moves with the "],["-","text on reflow:"],["+","text:"],["="," target_frame_id "],["-","names"],["+","is"],["="," a frame of the story, index the character position "],["-","(default:"],["+","(default"],["="," end of the "],["-","story),"],["+","story);"],["="," position inline (on the baseline), "],["-","above_line,"],["+","above_line (aligned in the column, with space before/after)"],["="," or custom "],["-","with"],["+","(offset,"],["="," "],["-","offset_mm"],["+","anchor"],["="," "],["-","{x,"],["+","point,"],["="," "],["-","y},"],["+","references,"],["="," "],["-","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),"],["+","alignment,"],["="," 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)."],["+","lock_position)."],["="," The object leaves its page and becomes part of the story "],["-","(an U+FFFC character"],["+","(U+FFFC"],["="," at "],["-","index)."],["+","index) – anchor captions, marginalia and inline symbols, not objects that must keep their position."],["="," Returns frame_id "],["-","(read back; a"],["+","(a"],["="," new id is warned), story_id, index, story_length, "],["-","settings (for above_line with space_before_mm, space_after_mm),"],["+","settings,"],["="," bounds_mm, page_id "],["-","(the"],["+","(after"],["="," "],["-","page the anchored object stands on after the story is recomposed)"],["+","recomposition)"],["="," and story_overset (warning). Fails on group members, "],["+","objects "],["=","already "],["-","anchored objects,"],["+","anchored,"],["="," a frame of the target "],["-","story,"],["+","story and"],["="," 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."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"apply_character_format_to_range","fields":{"description":[["=","Local character formatting without a style for"],["-"," the characters"],["="," start_index (inclusive) to end_index (exclusive) of the story of a text "],["-","frame:"],["+","frame; at least one attribute."],["="," font_style "],["-","(exact"],["+","is"],["="," "],["-","InDesign"],["+","the exact"],["="," style name – fetch it with get_font_info_at_index "],["-","first,"],["+","(\"75"],["="," "],["-","\"75"],["+","Bold\","],["="," "],["-","Bold\""],["+","not"],["="," "],["-","rather"],["+","\"Bold\")."],["="," "],["-","than"],["+","Built-in"],["="," "],["-","\"Bold\"; optional font_family to switch the family), swatch_name (an existing swatch, exact name; built-ins"],["+","swatches"],["="," are \"Black\", \"Paper\", "],["-","\"None\"),"],["+","\"None\"."],["="," "],["-","superscript (true/false), tracking (Laufweite in 1/1000 em, -1000 to 10000; the"],["+","The"],["="," server configuration can set a"],["+"," tracking"],["="," tolerance beyond which a warning is "],["-","given),"],["+","given."],["="," point_size "],["-","(0–1296,"],["+","is"],["="," the only way to a size without a paragraph "],["-","style),"],["+","style."],["="," language "],["-","(dictionary"],["+","sets"],["="," "],["-","for"],["+","the"],["="," "],["-","hyphenation and spelling"],["+","dictionary"],["="," of the range, e.g. "],["+","for "],["=","a foreign-language quotation "],["-","– same names as in define_paragraph_style; check_typography rule"],["+","(check_typography"],["="," foreign_language_in_text finds "],["-","ranges"],["+","such"],["="," "],["-","whose language differs from their paragraph style). At least one attribute."],["+","ranges)."],["="," Never changes text. Returns applied[],"],["+"," characters_affected and, read back at the first character,"],["="," point_size_applied, font_family, font_style, fill_color and language {name, untranslated_name, "],["-","icu_locale}"],["+","icu_locale}."],["="," "],["-","read"],["+","A"],["="," "],["-","back at the first character for a cross-check, plus characters_affected. Stories"],["+","story"],["="," managed by an editorial workflow (InCopy) "],["-","that are"],["+","and"],["="," not checked out here "],["-","(lock_state checked_in_story, locked_story, missing_lock_state or mixed_lock_state) are"],["+","is"],["="," refused before "],["-","anything"],["+","writing:"],["="," "],["-","is written: invalid_state with"],["+","invalid_state,"],["="," 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."],["+","managed_file)."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""},{"path":"$.\"properties\".\"language\".\"description\"","old":"\"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 (\\\"English: UK\\\", but \\\"de_DE_2006\\\" for German) or an ICU locale (\\\"de_DE\\\", \\\"en_GB\\\" – the safest form; where InDesign holds several dictionaries for one locale, the 2006 spelling reform is chosen and a warning names it); unknown names fail with not_found and the available list.\"","new":"\"Language of the text (Sprache; hyphenation and spelling): the name InDesign shows (e.g. \\\"Deutsch: 2006 Rechtschreibreform\\\"), its untranslated name (\\\"English: UK\\\", \\\"de_DE_2006\\\") or an ICU locale (\\\"de_DE\\\", \\\"en_GB\\\" – the safest form; with several dictionaries for one locale the 2006 spelling reform is chosen, with a warning). Unknown names fail with not_found and the available list.\""}]}},{"tool":"apply_character_style_to_range","fields":{"description":[["=","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"],["+","A story"],["="," managed by an editorial workflow (InCopy) "],["-","that are"],["+","and"],["="," not checked out here "],["-","(lock_state checked_in_story, locked_story, missing_lock_state or mixed_lock_state) are"],["+","is"],["="," refused before "],["-","anything"],["+","writing:"],["="," "],["-","is written: invalid_state with"],["+","invalid_state,"],["="," 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."],["+","managed_file)."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"apply_object_style","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"apply_paragraph_style","fields":{"description":[["=","Apply a paragraph style (Absatzformat) to every paragraph of a text frame. By default (clear_overrides true) local formatting and character styles are cleared first, so the print matches the style, not only its name; with clear_overrides false deliberate local bold or italic stays, and so does every stray override. For a threaded frame only the paragraphs touching this frame are formatted – use apply_paragraph_style_to_range over the whole story (0 to story_length from get_frame_text) for the rest. Returns frame_id, style_applied, affected_paragraphs, overrides_cleared and threaded. "],["-","Stories"],["+","A story"],["="," managed by an editorial workflow (InCopy) "],["-","that are"],["+","and"],["="," not checked out here "],["-","(lock_state checked_in_story, locked_story, missing_lock_state or mixed_lock_state) are"],["+","is"],["="," refused before "],["-","anything"],["+","writing:"],["="," "],["-","is written: invalid_state with"],["+","invalid_state,"],["="," 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."],["+","managed_file)."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"apply_paragraph_style_to_range","fields":{"description":[["=","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"],["+","A story"],["="," managed by an editorial workflow (InCopy) "],["-","that are"],["+","and"],["="," not checked out here "],["-","(lock_state checked_in_story, locked_story, missing_lock_state or mixed_lock_state) are"],["+","is"],["="," refused before "],["-","anything"],["+","writing:"],["="," "],["-","is written: invalid_state with"],["+","invalid_state,"],["="," 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."],["+","managed_file)."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"apply_parent_to_page","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"autoflow_story","fields":{"description":[["=","Continue the autoflow of a story "],["-","that is "],["=","already in the document "],["-","–"],["+","(frame_id:"],["="," "],["-","no"],["+","any"],["="," "],["-","file"],["+","of"],["="," "],["-","needed:"],["+","its text frames):"],["="," while "],["-","the"],["+","it"],["="," "],["-","story overflows (Übersatz),"],["+","overflows,"],["="," add a page after the page of its last frame "],["-","(same parent page) "],["=","with a threaded frame of the "],["+","same "],["=","size and frame "],["-","options of the last frame, exactly"],["+","options,"],["="," as place_text_file with autoflow"],["-"," true"],["="," does, until the text fits or max_pages "],["-","(default 20, at"],["+","(at"],["="," most 2000) is reached. "],["-","frame_id is any text frame of the story. "],["=","A story that fits "],["-","already "],["=","is left "],["-","as"],["+","alone"],["="," "],["-","it is (pages_added [] and stopped"],["+","(stopped"],["="," \"fits\"). Returns frame_id, story_id, "],["-","overset"],["+","overset, autoflow (as place_text_file)"],["="," 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)."],["+","view_restored."],["="," 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\"."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""},{"path":"$.\"properties\".\"keep_view\".\"description\"","old":"\"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 when the document has no window).\"","new":"\"Restore the view (page and zoom) afterwards; InDesign otherwise jumps to the new page. Default true. The answer carries view_restored (null without a window).\""}]}},{"tool":"build_article","fields":{"description":[["=","Turn an article (kicker, title, lead, paragraphs, source, optional image) and a title profile into the layout description of an opening page (Aufmacherseite): head frame with kicker and title, image or grey placeholder, a multi-column text frame down to the bottom of the type area. All measures and style names come from the profile – type_area_mm {x, width, bottom}, grid_line_mm, head_frame_mm {y, height}, image_top_mm, image_text_gap_lines, columns, gutter_pt, styles {kicker, title, lead, subhead, body, source}, optional paragraph_local {role: {attribute: value}}, placeholder {fill, tint}, empty_line_between_paragraphs, default_image_lines, page_size_mm, text_object_style, image_object_style. Article: title, kicker, lead, paragraphs [[role, text]] (role body or subhead), source, image_lines, image (file path, filled into the frame; image_focus [x, y] 0–1). Returns layout (for build_snippet or build_issue), characters, paragraphs and text_frame_mm. With output_path the layout is written as JSON; with place_on_page_id it is built as snippet and placed like build_snippet does. The line breaks are only known after placing: check overset in the answer."],["+"," This is the preferred way to set a new article, also in a document just created with create_document, before frame-by-frame work (create_text_frame, set_text), which is the fallback after two failed attempts."]]}},{"tool":"build_issue","fields":{"description":[["=","Build a new issue (Ausgabe) from a layout description (issue plan) and a template – an open document (template_document_id) or the .idml/.indd of the previous issue "],["-","(template_path)."],["+","(template_path),"],["="," "],["-","The template"],["+","which"],["="," supplies styles, swatches, parent pages, layers and page settings. Each spread of the plan is"],["-"," either"],["="," {from_template: \"<page name>\"} (taken over with its content) or new: pages from a template spread with the same "],["-","number"],["+","page"],["="," "],["-","of pages"],["+","count"],["="," (page_template, template_spreads {\"<page count>\": \"<page "],["-","name>\"}"],["+","name>\"},"],["="," or the spread at the same position), parent pages by prefix, objects as in "],["-","the layout."],["+","read_layout."],["="," Frames of one story are threaded across spreads (chain_index, "],["-","otherwise"],["+","else"],["="," plan order). Images and ad PDFs are linked; fit fill|proportional|trim_box fits them from the file (trim_box: the "],["+","PDF "],["=","TrimBox"],["-"," of the PDF"],["="," at trim_box_at_mm, scale 1 unless given). The result is written as IDML "],["-","(idml_path or the temporary folder) "],["=","and opened "],["-","in InDesign; an opened IDML is"],["+","as"],["="," an untitled "],["-","document,"],["+","document"],["="," "],["-","so"],["+","–"],["="," pass save_path (.indd) to save "],["-","it under that name."],["+","it."],["="," Returns document_id, idml_path, saved_to, pages, spreads, new_spreads, template_spreads, objects, "],["-","overset_count and"],["+","overset_count,"],["="," overset_stories, missing_links, missing_fonts and "],["-","durations_ms (template, build, open, save, check)."],["+","durations_ms."]]}},{"tool":"build_snippet","fields":{"description":[["=","Build an InDesign snippet (.idms) with the objects of one page of a layout description (see read_layout for the format). Paragraph styles, character styles, object styles and swatches are written as empty shells with their names, so the definitions of the same name in the target document apply; frames of one story are threaded. fit fill|proportional|trim_box computes scale and offset of images and PDFs from the file (pixel size and resolution, MediaBox/TrimBox); an image stored with an EXIF orientation other than 1 gets a warning, because it can appear turned. Returns path, objects, stories, paragraph_styles, character_styles, swatches and bounds_mm. With place_on_page_id the snippet is placed right away as with place_snippet; the answer then carries placed."],["+"," This is the preferred way to add new page content of more than one frame to any document, also one just created with create_document; fall back to frame-by-frame work (create_text_frame, set_text) only after two failed attempts."]]}},{"tool":"check_accessibility","fields":{"description":[["=","Check the document for an accessible (tagged) PDF before export. Read-only. Findings {check, "],["-","severity error | warning,"],["+","severity,"],["="," page, object_id, style, hint}: "],["-","alt_text_missing (error),"],["+","alt_text_missing,"],["="," decorative_not_artifact "],["-","(error),"],["+","(errors),"],["="," alt_text_hidden_by_group, alt_text_unverified, group_artifact_no_effect, parent_page_image (warnings); path_not_tagged "],["-","(error:"],["+","(error, only with artifact_untagged_paths false:"],["="," text frames with stroke or fill and tables with cell "],["-","strokes,"],["+","strokes"],["="," "],["-","which InDesign writes as"],["+","become"],["="," untagged "],["-","paths"],["+","paths);"],["="," "],["-","– reported only with artifact_untagged_paths false – a tagged export marks them as artifacts by default); table_without_header_row (warning),"],["+","table_without_header_row,"],["="," table_header_scope "],["-","(warning"],["+","(warnings, the latter"],["="," before InDesign 2026); style_without_pdf_tag (error for used "],["+","heading-like "],["=","paragraph styles"],["-"," that look like headings, by name or because their parent style has a heading tag"],["="," – tags are not inherited); document_title_missing, text_language_missing, pdf_language_missing, pdf_language_invalid (errors; the PDF language "],["-","is checked as given in"],["+","from"],["="," pdf_language, otherwise from the preset or the export settings "],["-","that"],["+","the"],["="," "],["-","export_pdf"],["+","planned"],["="," "],["-","or – with interactive true – export_interactive_pdf"],["+","export"],["="," would use); no_articles, item_outside_articles (warnings) and articles_not_used_for_pdf (error). Returns passed (no error), errors, warnings, findings[], findings_total, "],["-","findings_truncated (max_findings, default 200),"],["+","findings_truncated,"],["="," summary {images, images_ok, tables, objects_with_untagged_paths, paragraph_styles_used, styles_without_pdf_tag[], document_title, text_language, pdf_language, pdf_language_source, articles, use_for_tagged_pdf} and manual_steps[] "],["-","– what"],["+","(what"],["="," only a person or Acrobat can "],["-","do"],["+","do:"],["="," "],["-","(captions"],["+","captions"],["="," bound to figures, complex tables, contrast,"],["-"," a check with"],["="," a PDF/UA checker and a screen reader). export_pdf and export_interactive_pdf with pdfua_identifier true run this "],["-","same "],["=","check "],["-","and add the PDF/UA identifier only when it reports no error."],["+","first."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"check_epub","fields":{"description":[["=","Check an e-book before and after export_epub. Read-only. Without path it checks the document "],["-","in InDesign "],["=","for the "],["-","given"],["+","planned"],["="," "],["-","layout (reflowable, default, or fixed_layout):"],["+","layout:"],["="," document_language "],["-","(an EPUB"],["+","(dc:language"],["="," needs "],["-","dc:language"],["+","a default language"],["="," – "],["-","error when the text defaults have no language),"],["+","error),"],["="," toc_style (error when "],["-","the named toc_style does not exist;"],["+","missing;"],["="," warning when "],["-","no TOC style"],["+","none"],["="," is "],["-","set for the EPUB),"],["+","set),"],["="," metadata (warning without title or "],["-","creator in the EPUB settings), and"],["+","creator),"],["="," for reflowable unanchored_objects "],["-","(graphics and groups on pages that are not anchored in the text flow – their place in the"],["+","(their"],["="," EPUB"],["+"," position"],["="," follows the export order; anchor_frame_in_text), parent_page_objects "],["-","(content on parent pages, left"],["+","(left"],["="," out of a reflowable EPUB – fine for running heads and page "],["-","numbers) and"],["+","numbers),"],["="," 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"],["+","embeds"],["="," fonts). With path it checks the finished .epub "],["-","file "],["=","without InDesign: "],["-","zip_structure"],["+","zip_structure,"],["="," "],["-","(mimetype first and uncompressed), container (META-INF/container.xml and the package document),"],["+","container,"],["="," 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),"],["+","manifest_files,"],["="," navigation (EPUB 3 "],["-","nav with a toc,"],["+","nav,"],["="," EPUB 2 NCX), references "],["-","(src "],["=","and "],["-","href in the content files point to files in the archive) and cover (warning without a cover image)."],["+","cover."],["="," Returns passed (no error), checked document | file, checks_run[], errors, findings[] {check, "],["-","severity error | warning,"],["+","severity,"],["="," page_id, page_name, object_id or file, hint}, findings_total and "],["-","findings_truncated (max_findings, default 200);"],["+","findings_truncated;"],["="," 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"],["+","Does"],["="," not replace EPUBCheck or the "],["-","e-book"],["+","shop"],["="," "],["-","shop's own preview tool."],["+","preview."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"check_print_on_demand","fields":{"description":[["=","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"],["+","or"],["="," 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[]"],["+","checks[]"],["="," {check, status pass|fail|skipped, required, actual, findings[]}: "],["-","page_count (min_page_count, max_page_count, page_count_multiple);"],["+","page_count;"],["="," inside_margin "],["-","(the inside margin, Bundsteg,"],["+","(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);"],["+","outside_margins;"],["="," bleed (on facing pages the inside bleed must be "],["-","0 – InDesign keeps it as left/inside –,"],["+","0,"],["="," top, bottom and outside equal "],["-","bleed_mm within bleed_tolerance_mm (default 0.1), and"],["+","bleed_mm;"],["="," objects"],["-"," reaching"],["="," beyond the trim need "],["-","bleed at all);"],["+","bleed);"],["="," objects_in_margin "],["-","(objects"],["+","(non-bleeding"],["="," "],["-","that do not bleed but come"],["+","objects"],["="," closer to the trim than the "],["-","minimum "],["=","margins); objects_across_spine "],["-","(facing pages: objects reaching over the spine into the facing page – cut"],["+","(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);"],["+","overset);"],["="," image_resolution "],["-","(effective"],["+","(pixel"],["="," "],["-","ppi of placed pixel images against min_ppi;"],["+","images;"],["="," placed PDF/EPS "],["-","are "],["=","skipped); fonts "],["-","(every document font installed"],["+","(installed"],["="," and allowed for "],["-","PDF "],["=","embedding –"],["-"," whether the fonts are really embedded"],["="," only the exported PDF "],["-","shows)."],["+","shows real embedding)."],["="," Returns "],["-","passed (no check failed),"],["+","passed,"],["="," failed_checks[], skipped_checks[], page_count, facing_pages, page_size_mm, checks[], findings_total and "],["-","findings_truncated (max_findings, default 200, over all checks)."],["+","findings_truncated."],["="," Export for upload with export_pdf and use_document_bleed true."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"check_typography","fields":{"description":[["-","Find"],["+","Report"],["="," violations of general typesetting rules "],["-","and report them "],["=","– never "],["-","change"],["+","changes"],["="," anything. "],["-","The"],["+","Catalogue:"],["="," "],["-","rule catalogue is a data table"],["+","rules/typography-rules.json"],["="," in the "],["-","package"],["+","package."],["="," "],["-","(rules/typography-rules.json): character"],["+","Character"],["="," rules "],["-","run"],["+","(InDesign"],["="," "],["-","as"],["+","GREP):"],["="," "],["-","InDesign GREP searches (double_space,"],["+","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);"],["+","trailing_space."],["="," "],["-","line"],["+","Line"],["="," rules "],["-","run"],["+","(composed"],["="," "],["-","on the composed lines of every text frame"],["+","lines,"],["="," like "],["-","get_frame_lines"],["+","get_frame_lines):"],["="," "],["-","(widow"],["+","widow"],["="," "],["-","–"],["+","(Hurenkind,"],["="," "],["-","Hurenkind, error;"],["+","error),"],["="," orphan "],["-","–"],["+","(Schusterjunge,"],["="," "],["-","Schusterjunge,"],["+","warning),"],["="," "],["-","warning;"],["+","heading_at_column_end,"],["="," "],["-","heading_at_column_end;"],["+","single_word_last_line,"],["="," "],["-","single_word_last_line;"],["+","hyphen_ladder,"],["="," "],["-","hyphen_ladder"],["+","empty_line_at_column_start,"],["="," "],["-","with"],["+","column_first_baselines_differ"],["="," "],["-","max_consecutive_hyphens, default 3; empty_line_at_column_start; column_first_baselines_differ, more than"],["+","(>"],["="," 0.1 "],["-","mm); the language rule"],["+","mm)."],["="," foreign_language_in_text reports"],["-"," text"],["="," ranges whose language "],["-","(dictionary for hyphenation and spelling) "],["=","differs from"],["-"," that of"],["="," their paragraph style "],["-","– e.g. English from a Word file inside German text; findings"],["+","(findings"],["="," add language and "],["-","paragraph_style_language,"],["+","paragraph_style_language;"],["="," fix with apply_character_format_to_range "],["-","language."],["+","language)."],["="," "],["-","locale de (default),"],["+","Locale"],["="," de-CH "],["-","(guillemets)"],["+","expects"],["="," "],["-","or"],["+","guillemets;"],["="," en "],["-","(curly"],["+","curly"],["="," quotes,"],["+"," a"],["="," closed em "],["-","dash,"],["+","dash and"],["="," 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"],["+","are"],["="," far "],["-","longer than the character rules"],["+","slower"],["="," – on a long book check part "],["-","of it "],["=","per call with "],["-","page_range;"],["+","page_range (warning"],["="," above 100 text frames in scope document without "],["-","page_range"],["+","it)."],["="," "],["-","a"],["+","Unknown"],["="," "],["-","warning says so. rules[] limits to those ids, exclude_rules[] drops some; unknown"],["+","rule"],["="," 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),"],["+","end_index,"],["="," snippet, suggestion (often a find_replace GREP pattern)}, counts per "],["-","rule_id,"],["+","rule_id (complete even when max_findings truncates findings[]),"],["="," rules_checked[], rules_failed[] "],["-","(a"],["+","(GREP"],["="," "],["-","GREP pattern"],["+","patterns"],["="," InDesign "],["-","rejected – warning,"],["+","rejected;"],["="," the rest runs), frames_checked, "],["-","findings_dropped"],["+","findings_dropped, truncated"],["="," and "],["-","truncated (max_findings caps only findings[]; every rule still runs and counts stays complete)."],["+","page_range_used."],["="," Sources: Forssman/de "],["-","Jong"],["+","Jong,"],["="," "],["-","(Detailtypografie), Duden (Satz und Korrektur),"],["+","Duden,"],["="," DIN 5008, "],["-","Bier (typokurz),"],["+","Bier,"],["="," Bringhurst "],["-","(locale en)."],["+","(en)."],["="," Not checked: spelling, grammar, content, text "],["-","inside"],["+","in"],["="," placed "],["-","graphics;"],["+","graphics,"],["="," table cells"],["-"," are skipped in this version"],["="," (warning tables_skipped). Read-only."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"clear_frame_content","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"close_document","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"convert_text_to_outlines","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"create_book_cover","fields":{"description":[["=","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):"],["+","side):"],["="," spine width = page_count × "],["-","thickness,"],["+","paper thickness per page (as the printer states it),"],["="," 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)."],["+","true);"],["="," safety_margin_mm sets the "],["-","margins (Satzspiegel guides) on all sides."],["+","margins."],["="," Vertical guides mark both spine folds; spine_safety_mm adds two guides inside the "],["-","spine for spine text."],["+","spine."],["="," 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."],["+","barcode_area"],["="," "],["-","Every"],["+","on"],["="," "],["-","value"],["+","the back cover. Values"],["="," 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"],["+","(mm,"],["="," "],["-","in"],["+","pt,"],["="," "],["-","mm, pt and in},"],["+","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."]]}},{"tool":"create_document","fields":{"description":[["=","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."],["+"," After creating the document, build page content of more than one frame as a snippet (build_snippet with place_on_page_id), not frame by frame."]]}},{"tool":"create_ellipse","fields":{"description":[["=","Create an ellipse"],["-"," (Ellipse)"],["="," as a frame without content on page_id at bounds_mm "],["-","– the"],["+","(the"],["="," bounding rectangle without the stroke; "],["+","equal "],["=","width "],["-","equal to"],["+","and"],["="," height "],["-","gives"],["+","give"],["="," a "],["-","circle."],["+","circle)."],["="," "],["-","Colour,"],["+","Colours,"],["="," stroke, "],["-","tint,"],["+","tints,"],["="," gradient angle, text_wrap, layer_name and name as in "],["-","create_rectangle:"],["+","create_rectangle;"],["="," "],["-","fill_hex / fill_swatch_name (colour, tint or gradient swatch), stroke_hex / stroke_swatch_name, stroke_weight_pt (a"],["+","a"],["="," stroke colour without weight gets 1 pt with a "],["-","warning),"],["+","warning;"],["="," "],["-","fill_tint_percent, stroke_tint_percent, gradient_fill_angle_deg (only with a gradient swatch), text_wrap none | bounding_box | object_shape (without it the document default – pass \"none\" when text lies underneath). Without"],["+","without"],["="," colours"],["-"," the fill and stroke are [None] with 0 pt, so"],["="," nothing prints. Returns frame_id, type \"ellipse\", bounds_mm, page_id, landed_on_page_id, landed_on_page_name, fill_color, "],["-","fill_kind (none, color, tint, gradient),"],["+","fill_kind,"],["="," stroke_color, stroke_kind, stroke_weight_pt, fill_tint_percent, gradient_fill_angle_deg, text_wrap_mode, "],["-","layer_name,"],["+","layer_name"],["="," "],["-","swatch_ids"],["+","and"],["="," "],["-","(empty when only swatch names were used). Use"],["+","swatch_ids."],["="," place_image "],["-","to put"],["+","puts"],["="," a picture into it. A timed-out call may still have created the object – check get_page_state before repeating."]],"inputSchema":[{"path":"$.\"properties\".\"coordinate_space\".\"description\"","old":"\"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 starts at x = page width.\"","new":"\"\\\"page\\\" (default): x/y from the top left corner of page_id, the same on left and right pages; \\\"spread\\\": from the top left corner of the spread (Druckbogen), where the right page starts at x = page width.\""},{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"create_gradient_swatch","fields":{"description":[["=","Create a gradient swatch "],["-","(Verlaufsfarbfeld) named name with type"],["+","(Verlaufsfarbfeld),"],["="," linear (default) or "],["-","radial"],["+","radial,"],["="," "],["-","and"],["+","with"],["="," stops[] (2–20, in order): each"],["-"," stop"],["="," names exactly one of swatch_name (an existing colour or tint "],["-","swatch –"],["+","swatch,"],["="," not a gradient or mixed ink), hex (creates an RGB swatch) or cmyk {c, m, y, k} (creates"],["-"," a CMYK swatch"],["="," \"<name> Stopp <n>\"), plus location 0–100 (ascending; a first stop above 0 or a last below 100 gives a warning) and optional midpoint 13–87. on_collision "],["-","error (default), "],["=","update "],["-","(rewrites"],["+","rewrites"],["="," type and stops of an existing "],["-","gradient)"],["+","gradient."],["="," "],["-","or"],["+","Use"],["="," "],["-","version (\"<name> 2\"). The swatch is then used"],["+","it"],["="," with fill_swatch_name / stroke_swatch_name "],["-","in create_rectangle, create_ellipse, create_polygon, create_line "],["=","and"],["-"," set_frame_appearance, and the angle with"],["="," gradient_fill_angle_deg. Returns name, swatch_id, type, stops[] {index, swatch_name, location, midpoint} read back, stop_count, collision, existed, previous (with "],["-","update),"],["+","update) and"],["="," swatch_ids of new colour swatches. "],["-","Note: gradients built"],["+","Gradients"],["="," from RGB swatches stay RGB – build print gradients from CMYK swatches; "],["-","how the export renders them depends on "],["=","the PDF "],["-","preset."],["+","preset decides how they render."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"create_image_frame","fields":{"inputSchema":[{"path":"$.\"properties\".\"coordinate_space\".\"description\"","old":"\"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 starts at x = page width.\"","new":"\"\\\"page\\\" (default): x/y from the top left corner of page_id, the same on left and right pages; \\\"spread\\\": from the top left corner of the spread (Druckbogen), where the right page starts at x = page width.\""},{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"create_line","fields":{"inputSchema":[{"path":"$.\"properties\".\"coordinate_space\".\"description\"","old":"\"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 starts at x = page width.\"","new":"\"\\\"page\\\" (default): x/y from the top left corner of page_id, the same on left and right pages; \\\"spread\\\": from the top left corner of the spread (Druckbogen), where the right page starts at x = page width.\""},{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"create_parent_page","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""},{"path":"$.\"properties\".\"keep_view\".\"description\"","old":"\"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 when the document has no window).\"","new":"\"Restore the view (page and zoom) afterwards; InDesign otherwise jumps to the new page. Default true. The answer carries view_restored (null without a window).\""}]}},{"tool":"create_polygon","fields":{"inputSchema":[{"path":"$.\"properties\".\"coordinate_space\".\"description\"","old":"\"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 starts at x = page width.\"","new":"\"\\\"page\\\" (default): x/y from the top left corner of page_id, the same on left and right pages; \\\"spread\\\": from the top left corner of the spread (Druckbogen), where the right page starts at x = page width.\""},{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"create_rectangle","fields":{"description":[["=","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."],["+","negative)."],["="," Hex colours become RGB swatches named after the "],["-","value (\"#1A2B3C\"),"],["+","value,"],["="," reused when they "],["-","exist;"],["+","exist"],["="," "],["-","their"],["+","(ids"],["="," "],["-","ids"],["+","in"],["="," "],["-","come"],["+","swatch_ids);"],["="," "],["-","back as swatch_ids. For"],["+","for"],["="," print use the "],["-","existing"],["+","document's"],["="," "],["-","document"],["+","CMYK"],["="," swatches "],["-","(CMYK) instead: fill_swatch_name / stroke_swatch_name take the exact"],["+","by"],["="," name "],["-","of"],["+","(list_swatches,"],["="," "],["-","an existing colour, tint or gradient swatch (see list_swatches, create_gradient_swatch); each excludes the corresponding hex parameter."],["+","create_gradient_swatch)."],["="," Without "],["-","fill_hex"],["+","fill"],["="," the fill is [None]; without "],["-","stroke_hex"],["+","stroke colour"],["="," and "],["-","stroke_weight_pt"],["+","weight"],["="," the stroke is [None] with 0 pt. "],["-","The"],["+","Without"],["="," "],["-","rectangle inherits"],["+","text_wrap"],["="," the document text wrap "],["-","(Textumfluss)"],["+","applies"],["="," – pass "],["-","text_wrap "],["=","\"none\" "],["-","to"],["+","when"],["="," "],["-","switch"],["+","text"],["="," "],["-","it"],["+","lies"],["="," "],["-","off,"],["+","underneath,"],["="," or build borders from "],["-","four create_line calls."],["+","create_line."],["="," 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."]],"inputSchema":[{"path":"$.\"properties\".\"coordinate_space\".\"description\"","old":"\"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 starts at x = page width.\"","new":"\"\\\"page\\\" (default): x/y from the top left corner of page_id, the same on left and right pages; \\\"spread\\\": from the top left corner of the spread (Druckbogen), where the right page starts at x = page width.\""},{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"create_swatch","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"create_table","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"create_text_frame","fields":{"description":[["=","Create "],["-","an empty"],["+","a"],["="," text frame on page_id (document or "],["-","master"],["+","parent"],["="," page) at "],["-","bounds_mm {x, y, width, height};"],["+","bounds_mm;"],["="," x/y may be negative for bleed. initial_text "],["-","is put in as"],["+","becomes"],["="," one paragraph "],["-","–"],["+","(\"\\n\""],["="," "],["-","\"\\n\" becomes"],["+","is"],["="," a forced line "],["-","break,"],["+","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):"],["+","wrap:"],["="," with wrap on, text frames underneath can be pushed into overset – pass text_wrap "],["-","\"none\" to switch it off at creation,"],["+","\"none\","],["="," 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"],["+","ascent"],["="," or "],["-","fixed) –"],["+","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_id,"],["="," landed_on_page_name (empty = "],["-","pasteboard),"],["+","pasteboard)"],["="," and the frame options read back; "],["-","a "],["=","landing on another page is a "],["-","warning, never a silent success."],["+","warning."],["="," A timed-out call may still have created the frame – check get_page_state before repeating. "],["-","Placeholders"],["+","New page content of more than one frame is built as a snippet first (build_snippet, then place_snippet), also"],["="," in "],["-","the"],["+","a"],["="," "],["-","text"],["+","document"],["="," "],["-","become"],["+","just"],["="," "],["-","InDesign"],["+","created;"],["="," "],["-","special"],["+","build"],["="," "],["-","characters"],["+","it frame by frame only after two failed attempts. Placeholders"],["="," (placeholders true, "],["-","default):"],["+","default)"],["="," "],["-","{{line_break}}"],["+","become"],["="," "],["-","(forced"],["+","special"],["="," "],["-","line"],["+","characters,"],["="," "],["-","break"],["+","one"],["="," "],["-","within"],["+","character"],["="," "],["-","the"],["+","each:"],["="," "],["-","paragraph),"],["+","{{line_break}},"],["="," {{nbsp}} "],["-","(no-break space U+00A0),"],["+","(U+00A0),"],["="," {{nbsp_fixed}} "],["-","(fixed-width no-break space U+202F),"],["+","(U+202F),"],["="," {{thin_space}}, {{hair_space}}, "],["-","{{soft_hyphen}}"],["+","{{soft_hyphen}},"],["="," "],["-","(discretionary hyphen), {{nb_hyphen}} (no-break hyphen),"],["+","{{nb_hyphen}},"],["="," {{en_dash}}, {{em_dash}}, {{tab}}, {{column_break}}, {{frame_break}}, {{page_break}}, {{odd_page_break}}, "],["-","{{even_page_break}}"],["+","{{even_page_break}};"],["="," "],["-","(break"],["+","unknown"],["="," "],["-","to the next odd or even page). Unknown {{…}}"],["+","ones"],["="," stay as written with a "],["-","warning; each placeholder is exactly one character in the story."],["+","warning."],["="," Returns placeholders_replaced {name: count} and placeholders_unknown[]."]],"inputSchema":[{"path":"$.\"properties\".\"coordinate_space\".\"description\"","old":"\"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 starts at x = page width.\"","new":"\"\\\"page\\\" (default): x/y from the top left corner of page_id, the same on left and right pages; \\\"spread\\\": from the top left corner of the spread (Druckbogen), where the right page starts at x = page width.\""},{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"create_text_variable","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"create_toc","fields":{"description":[["=","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"],["+","one"],["="," 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),"],["+","overset,"],["="," 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."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"debug_inspect_run","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"define_article","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"define_character_style","fields":{"description":[["=","Create a character style (Zeichenformat) with "],["-","name and "],["=","at least one "],["-","of"],["+","attribute"],["="," "],["-","font_family,"],["+","(based_on"],["="," "],["-","font_style"],["+","alone"],["="," "],["-","(exact"],["+","is"],["="," "],["-","InDesign"],["+","enough"],["="," "],["-","style"],["+","for"],["="," "],["-","name),"],["+","a"],["="," "],["-","point_size,"],["+","new style); on_collision decides about an existing name."],["="," fill_hex "],["-","(creates"],["+","creates"],["="," an RGB "],["-","swatch) or"],["+","swatch;"],["="," swatch_name "],["-","(an existing swatch by exact name; not"],["+","(not"],["="," together with "],["-","fill_hex),"],["+","fill_hex)"],["="," "],["-","and"],["+","takes"],["="," "],["-","tracking"],["+","an"],["="," "],["-","(Laufweite"],["+","existing"],["="," "],["-","in"],["+","one."],["="," "],["-","1/1000 em, -1000 to 10000; where"],["+","Where"],["="," the style is applied "],["-","it"],["+","its tracking"],["="," replaces "],["-","the tracking"],["+","that"],["="," of the paragraph style "],["-","–"],["+","(see"],["="," "],["-","see apply_character_style_to_range), capitalization (normal, small_caps = Kapitälchen, all_caps = Versalien, cap_to_small_caps, lower_case). on_collision: error (default), update or version."],["+","apply_character_style_to_range)."],["="," 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."],["+","untouched)."],["="," The answer adds based_on and group as read back, created_groups[] "],["-","(paths of groups"],["+","(groups"],["="," created by this call) and changes.created_group_ids. pdf_tag "],["-","(P,"],["+","is"],["="," "],["-","H, H1–H6, Artifact, \"\" removes) sets the export tag for a tagged PDF – not inherited through based_on; the definition reads it"],["+","read"],["="," back"],["-"," as pdf_tag"],["="," (\"\" = none). "],["-","InDesign names a"],["+","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"],["+","matches"],["="," with or without "],["-","that suffix – "],["=","the "],["-","connector matches both and reads back"],["+","suffix;"],["="," the name InDesign "],["-","uses."],["+","uses is read back."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"define_paragraph_style","fields":{"description":[["=","Create a paragraph style "],["-","(Absatzformat)"],["+","(Absatzformat);"],["="," "],["-","with"],["+","on_collision"],["="," "],["-","name"],["+","decides"],["="," "],["-","and"],["+","about"],["="," "],["-","any"],["+","an"],["="," "],["-","of"],["+","existing"],["="," "],["-","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),"],["+","name."],["="," color_hex "],["-","(creates"],["+","creates"],["="," an RGB "],["-","swatch named after the hex value) or"],["+","swatch;"],["="," swatch_name "],["-","(an"],["+","(not"],["="," "],["-","existing"],["+","together"],["="," "],["-","swatch"],["+","with"],["="," "],["-","by"],["+","color_hex)"],["="," "],["-","exact name –"],["+","is"],["="," the way to "],["-","a "],["=","CMYK or spot "],["-","colour;"],["+","colours."],["="," "],["-","not"],["+","The"],["="," "],["-","together"],["+","font must be installed: InDesign rejects a missing font even as family plus style (not_found"],["="," with "],["-","color_hex),"],["+","available_styles)."],["="," "],["-","space_before_pt,"],["+","Indents,"],["="," "],["-","space_after_pt, tracking (Laufweite in 1/1000 em), hyphenation, capitalization (normal, small_caps = Kapitälchen, all_caps = Versalien, cap_to_small_caps, lower_case), align_to_baseline_grid (Am Grundlinienraster ausrichten),"],["+","tab_stops"],["="," 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"],["+","are"],["="," "],["-","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"],["+","read"],["="," back "],["-","under"],["+","as"],["="," 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. "],["=","paragraph_rules"],["-"," {above, below: {on, weight_pt, type, color (swatch name or \"Text Color\"), tint, offset_mm, left_indent_mm, right_indent_mm, width column|text|frame}} sets the paragraph rules"],["="," (Absatzlinien) and span_columns "],["-","{type"],["+","(Spaltenspanne)"],["="," "],["-","single_column|span_columns|split_columns,"],["+","are"],["="," "],["-","count (or \"all\"), space_before_mm, space_after_mm, inside_gutter_mm, outside_gutter_mm} the column span (Spaltenspanne); omitted fields stay, and the answer reads both"],["+","read"],["="," back in the same form as list_paragraph_styles."],["-"," 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"],["+","(groups"],["="," created by this call) and changes.created_group_ids. pdf_tag "],["-","(P,"],["+","is"],["="," "],["-","H, H1–H6, Artifact, \"\" removes) sets the export tag for a tagged PDF – not inherited through based_on; the definition reads it"],["+","read"],["="," back"],["-"," as pdf_tag"],["="," (\"\" = none). "],["-","InDesign names a"],["+","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"],["+","matches"],["="," with or without "],["-","that suffix – "],["=","the "],["-","connector matches both and reads back"],["+","suffix;"],["="," the name InDesign "],["-","uses."],["+","uses is read back."],["="," Strict keep options can "],["-","produce"],["+","cause"],["="," overset or empty column ends – check "],["-","overset and get_frame_lines afterwards. on_collision decides what happens when the name exists: error (default), update or version (\"Name 2\"). The font must be installed: InDesign rejects a font it does not have, even as family plus style (not_found with available_styles) – define such styles on the machine that has the font."],["+","get_frame_lines."],["="," Returns style_id, name (differs"],["-"," from the request"],["="," with version), collision (none, updated, versioned), existed, applied[] and the definition read "],["-","back"],["+","back,"],["="," "],["-","(with"],["+","with"],["="," keep_options, hyphenation_options and justification_options as InDesign holds "],["-","them)."],["+","them."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""},{"path":"$.\"properties\".\"language\".\"description\"","old":"\"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 (\\\"English: UK\\\", but \\\"de_DE_2006\\\" for German) or an ICU locale (\\\"de_DE\\\", \\\"en_GB\\\" – the safest form; where InDesign holds several dictionaries for one locale, the 2006 spelling reform is chosen and a warning names it); unknown names fail with not_found and the available list.\"","new":"\"Language of the text (Sprache; hyphenation and spelling): the name InDesign shows (e.g. \\\"Deutsch: 2006 Rechtschreibreform\\\"), its untranslated name (\\\"English: UK\\\", \\\"de_DE_2006\\\") or an ICU locale (\\\"de_DE\\\", \\\"en_GB\\\" – the safest form; with several dictionaries for one locale the 2006 spelling reform is chosen, with a warning). Unknown names fail with not_found and the available list.\""}]}},{"tool":"define_toc_style","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"delete_article","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"delete_frame","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"delete_guides","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"delete_link","fields":{"description":[["=","Remove a link "],["-","(Verknuepfung)"],["+","(Verknüpfung)"],["="," by"],["-"," its"],["="," link_id from list_links – meant for leftovers on the "],["-","pasteboard (Montageflaeche),"],["+","pasteboard,"],["="," graphics anchored in overset text and other orphans"],["-"," that"],["="," no page shows, not as a second delete_frame. remove_frame "],["-","(default true) removes the holding frame with the graphic (an anchored frame takes its anchor character with it); "],["=","false removes only the graphic and leaves the empty "],["-","frame."],["+","frame"],["="," "],["-","dry_run"],["+","(an"],["="," "],["-","true"],["+","anchored"],["="," "],["-","only"],["+","frame"],["="," "],["-","reports"],["+","takes"],["="," "],["-","what"],["+","its"],["="," "],["-","would"],["+","anchor"],["="," "],["-","be"],["+","character"],["="," "],["-","removed."],["+","with"],["="," "],["-","When"],["+","it)."],["="," "],["-","the object lies"],["+","Objects"],["="," on a document "],["+","or parent "],["=","page or"],["-"," a parent page, or is"],["="," anchored in visible "],["-","text,"],["+","text"],["="," "],["-","the call is"],["+","are"],["="," refused "],["-","with invalid_state and"],["+","(invalid_state,"],["="," details.code "],["-","\"link_on_page\""],["+","\"link_on_page\")"],["="," unless "],["-","allow_on_page"],["+","allow_on_page;"],["="," "],["-","is true. Linked"],["+","linked"],["="," story files (InCopy) "],["-","are refused "],["=","with details.code \"story_link\";"],["-"," objects on"],["="," locked layers, locked objects and "],["-","anchors in "],["=","stories"],["-"," that are"],["="," not checked out here "],["-","(lock_state) are refused like"],["+","as"],["="," in delete_frame. Returns removed_link_id, removed_frame_ids "],["-","(like"],["+","(the"],["="," "],["-","delete_frame: the frame first,"],["+","frame,"],["="," then the page items inside "],["-","it – InDesign counts the placed graphic),"],["+","it),"],["="," location_before {location, page_id, page_name, spread_id, container_id, container_type, graphic_type, story_id, in_overset}, links_before and links_after; "],["-","with"],["+","dry_run"],["="," "],["-","dry_run"],["+","returns"],["="," would_remove_link_id and would_remove_frame_ids "],["-","instead (nothing changes)."],["+","instead."],["="," No undo"],["-"," through this tool"],["="," – run dry_run first."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"delete_page","fields":{"description":[["=","Delete a "],["-","page."],["+","page;"],["="," "],["-","There"],["+","there"],["="," is no undo. "],["-","Master"],["+","Parent"],["="," page objects and empty frames do not block "],["-","(they"],["+","(reported,"],["="," "],["-","are reported and"],["+","they"],["="," go with the page); frames with text or images and threaded frames "],["-","(verkettete Rahmen) "],["=","block"],["-"," – the call then fails"],["="," with invalid_state "],["-","and lists"],["+","listing"],["="," them, "],["-","and only"],["+","unless"],["="," force "],["-","true deletes anyway."],["+","true."],["="," The only page of a document and "],["-","master"],["+","parent"],["="," pages are "],["-","always "],["=","protected. "],["-","Objects"],["+","Pasteboard"],["="," "],["-","on the pasteboard (Montagefläche)"],["+","objects"],["="," belong to the "],["-","spread, not to the page:"],["+","spread:"],["="," when the spread goes with the page "],["-","(the page is the only one of its spread), its pasteboard objects"],["+","they"],["="," are listed "],["-","before"],["+","first"],["="," "],["-","anything"],["+","and"],["="," "],["-","happens."],["+","on_pasteboard_items"],["="," "],["-","When"],["+","applies; when"],["="," InDesign regroups"],["-"," the"],["="," spreads (facing pages with "],["-","\"allow"],["+","shuffling)"],["="," "],["-","pages to shuffle\"), pasteboard objects"],["+","they"],["="," 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"],["+","boilerplate_ignored,"],["="," "],["-","and item_summary[]; also"],["+","item_summary[],"],["="," 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"],["+","(a"],["="," warning names every "],["-","loss) and"],["+","loss),"],["="," pasteboard_relocated[] {frame_id, spread_page_ids_before, spread_page_ids, "],["-","spread_page_names_before (names before deleting),"],["+","spread_page_names_before,"],["="," spread_page_names, spread_index, bounds_mm_before, bounds_mm, on_pasteboard} "],["-","for"],["+","(with"],["="," "],["-","pasteboard"],["+","a"],["="," "],["-","objects"],["+","warning)"],["="," "],["-","that now lie beside other pages or elsewhere (a warning names them);"],["+","and"],["="," changes.removed_page_ids. Read list_pages again afterwards."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"document_text_defaults","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"duplicate_frame","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"duplicate_parent_page","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""},{"path":"$.\"properties\".\"keep_view\".\"description\"","old":"\"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 when the document has no window).\"","new":"\"Restore the view (page and zoom) afterwards; InDesign otherwise jumps to the new page. Default true. The answer carries view_restored (null without a window).\""}]}},{"tool":"embed_link","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"export_epub","fields":{"description":[["=","Export the document as an e-book (EPUB) to path "],["-","(a .epub file; an"],["+","(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"],["+","reflows;"],["="," text-led books) or fixed_layout "],["-","(every"],["+","(pages"],["="," "],["-","page"],["+","keep"],["="," "],["-","keeps its"],["+","their"],["="," layout;"],["-"," for"],["="," picture books, "],["-","comics, heavily designed pages)."],["+","comics)."],["="," Options apply to this call only and are restored "],["-","afterwards: epub_version 2 or 3 (reflowable;"],["+","afterwards;"],["="," fixed layout is always EPUB "],["-","3), cover none | first_page | image (with cover_image_path, a JPEG, PNG or GIF that must exist),"],["+","3."],["="," toc_style"],["-"," (an existing TOC style, see list_toc_styles and define_toc_style – it"],["="," builds the EPUB "],["-","navigation;"],["+","navigation –"],["="," without it the navigation lists only file "],["-","names),"],["+","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 – or a list of styles, e.g. part, chapter and appendix headings; settings_used.split_by_paragraph_styles lists them), embed_fonts, image_alignment left | center | right and image_size none | fixed | relative (how images and anchored objects sit in the text flow; objects"],["+","Objects"],["="," with their own object export options keep "],["-","those);"],["+","them."],["="," "],["-","fixed layout only: page_range (printed page names like export_pdf), spread_control document | physical | synthetic | none, orientation portrait | landscape | auto (InDesign itself"],["+","InDesign"],["="," writes landscape even for upright "],["+","fixed-layout "],["=","pages, "],["-","which locks reading apps to landscape;"],["+","so"],["="," the server "],["-","therefore "],["=","sets"],["-"," the"],["="," orientation in the finished file "],["-","– by default from the page format – "],["=","and returns orientation_set {value, previous, "],["-","changed})."],["+","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"],["+","is"],["="," the "],["-","document's"],["+","document"],["="," default language (text "],["-","defaults), not from a parameter."],["+","defaults)."],["="," Returns path, bytes, overwritten, layout, "],["-","settings_used (the values InDesign exported with),"],["+","settings_used,"],["="," document_language, settings_changed_for_export and document_marked_modified "],["-","– InDesign"],["+","(InDesign"],["="," marks the document "],["-","as "],["=","modified"],["-"," whenever an export setting is set,"],["="," although the settings are "],["-","restored;"],["+","restored –"],["="," close without saving if nothing else "],["-","changed."],["+","changed)."],["="," warnings[] name "],["-","missing title or creator, "],["=","a missing"],["+"," title, creator or"],["="," default language, no TOC style, no cover, "],["+","unanchored "],["=","objects"],["-"," not anchored in the text flow"],["="," (reflowable) and fonts that cannot be embedded. Check "],["-","the document "],["=","before with check_epub and "],["-","the file "],["=","after with check_epub "],["-","path; for print use export_pdf, for page images export_page_image."],["+","path."],["="," Can take minutes on a long book."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"export_interactive_pdf","fields":{"description":[["=","Export the document (or"],["-"," a"],["="," page_range, printed page names like export_pdf) as an interactive PDF (PDF (Interaktiv): links, bookmarks and buttons work; RGB; no presets) to path. "],["-","Options"],["+","The accessibility options work as in export_pdf,"],["="," for this call "],["-","only,"],["+","only;"],["="," the export settings are restored "],["-","afterwards: tagged (Struktur), tab_order_from_structure (Tab-Reihenfolge aus der Struktur; default true with tagged true), display_title, pdf_language (checked), title (written into the document), artifact_untagged_paths (default true with tagged true) and pdfua_identifier as in export_pdf (the identifier only after a check_accessibility without error, otherwise invalid_state with details.code accessibility_check_failed)."],["+","afterwards."],["="," Returns path, exported_page_count, document_page_count, bytes, page_range_used, settings_used {tagged, tab_order_from_structure, display_title, pdf_language}, tagged, display_title, pdf_language_used, pdf_language_source, title_set, pdfua_check, pdfua_identifier_requested, artifact_untagged_paths_requested, and after a tagged export untagged_paths {found, marked} and pdfua_identifier_set. For print use export_pdf."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"export_page_image","fields":{"description":[["=","Export document pages as PNG or "],["-","JPEG images,"],["+","JPEG,"],["="," one file per page "],["-","(for proofs,"],["+","(proofs,"],["="," correction mails, the "],["-","website"],["+","website,"],["="," "],["-","or"],["+","checking"],["="," a "],["-","measuring"],["+","layout"],["="," "],["-","run"],["+","by"],["="," "],["-","without PDF)."],["+","eye)."],["="," Select pages with page_ids "],["-","(from list_pages) "],["=","or page_range "],["-","like export_pdf (\"6-8\", \"1, 3-5\", \"+2\"; printed"],["+","(printed"],["="," page "],["-","names)."],["+","names"],["="," "],["-","path"],["+","like"],["="," "],["-","is"],["+","export_pdf)."],["="," "],["-","the target file; with"],["+","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"],["+","Parent"],["="," pages cannot be exported. "],["-","The export"],["+","Export"],["="," preferences are "],["-","set"],["+","restored"],["="," "],["-","for"],["+","after"],["="," "],["-","this"],["+","the"],["="," "],["-","call only and restored. create_folder true creates a missing target folder first (folder_created says whether it did)."],["+","call."],["="," Returns format, dpi, count, files[] {page_id, page_name, path, bytes} and folder_created. Read the files with an image tool of the "],["-","client to check a layout visually."],["+","client."],["="," A timed-out call may still have written files – check the folder before repeating."],["-"," For an e-book use export_epub."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"export_pdf","fields":{"description":[["=","Export the document (or"],["-"," a"],["="," page_range) as PDF to "],["-","path (the target file path – not output_path)."],["+","path."],["="," Preset chain: "],["-","preset"],["+","preset,"],["="," "],["-","(without it"],["+","else"],["="," the "],["-","localized"],["+","configured"],["="," "],["-","built-in"],["+","one,"],["="," "],["-","\"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"],["+","else"],["="," the localized \"High Quality "],["-","Print\""],["+","Print\";"],["="," "],["-","preset,"],["+","a missing preset falls back to that,"],["="," then to the current export preferences, each with a warning. A "],["+","file above fallback_over_bytes is exported again with fallback_preset. 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"],["+","whatever"],["="," 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"],["+","Built-in"],["="," presets such as [PDF/X-1a:2001] export without "],["-","bleed;"],["+","bleed:"],["="," "],["-","false"],["+","print-on-demand"],["="," "],["-","exports"],["+","and"],["="," "],["-","without"],["+","bleeding"],["="," "],["-","bleed;"],["+","images"],["="," "],["-","omitted"],["+","need"],["="," "],["-","="],["+","use_document_bleed"],["="," "],["-","as"],["+","true."],["="," "],["-","the"],["+","InDesign"],["="," "],["-","preset"],["+","writes"],["="," "],["-","says."],["+","anywhere"],["="," "],["-","Also"],["+","on"],["="," "],["-","returned:"],["+","its machine. Returns path, exported_page_count, document_page_count, page_count (= exported_page_count), bytes, preset_used, page_range_used,"],["="," document_bleed_used "],["-","(true/false, null"],["+","(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. "],["=","Accessible PDF "],["-","(Barrierefreiheit),"],["+","(Barrierefreiheit):"],["="," "],["-","all"],["+","tagged,"],["="," "],["-","optional"],["+","display_title, pdf_language, title, artifact_untagged_paths"],["="," and "],["-","for"],["+","pdfua_identifier apply to"],["="," this call "],["-","only: tagged (Struktur), bookmarks, display_title document_title | file_name, pdf_language (checked, e.g. de-DE), title (written into the document), artifact_untagged_paths (InDesign writes strokes and fills of text frames and table cell strokes as untagged paths; with tagged true the server marks them as artifacts in the finished file, false switches that off) and pdfua_identifier (writes"],["+","only;"],["="," the PDF/UA"],["-"," identifier into the file, but only when check_accessibility reports no error – otherwise invalid_state with details.code accessibility_check_failed and the findings; the"],["="," identifier claims a conformance the connector cannot fully "],["-","check:"],["+","check"],["="," "],["-","links"],["+","(figure–caption"],["="," "],["-","between figures and captions,"],["+","links,"],["="," complex tables, contrast). With any of them the answer adds tagged, display_title, pdf_language_used, pdf_language_source, title_set, pdfua_check, and after a tagged export untagged_paths {found, marked} and pdfua_identifier_set. For an "],["+","e-book use export_epub, for an "],["=","interactive PDF "],["-","use "],["=","export_interactive_pdf."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"find_font_usage","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"find_replace","fields":{"description":[["=","Find and replace text in the "],["-","document or in"],["+","document,"],["="," one"],["-"," frame: find, replace, mode literal or grep (default literal), scope document,"],["="," frame (only the text inside "],["-","that frame"],["+","it"],["="," –"],["-"," not its overset or other frames of the story;"],["="," a warning says when the story goes on) or "],["-","story (the whole"],["+","the"],["="," story of "],["-","frame_id,"],["+","frame_id"],["="," "],["-","overset"],["+","(overset"],["="," "],["-","included); frame and story need frame_id."],["+","included)."],["="," Removing paragraph marks merges paragraphs, which keep the style of the first "],["-","one "],["=","(warning)."],["-"," 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"],["+","replacing"],["="," "],["-","name"],["+","names."],["="," "],["-","replacement. GREP metacharacters:"],["+","GREP:"],["="," ~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"],["+","mode, master_pages_included"],["="," and "],["-","master_pages_included."],["+","changes.modified_frame_ids."],["="," Locked managed stories (editorial "],["-","workflow, lock_state as in get_frame_text)"],["+","workflow)"],["="," are never changed: their matches are left out of "],["-","replacements"],["+","the"],["="," "],["-","and matches_found (also in dry_run)"],["+","counts"],["="," and listed in skipped_locked[] {story_id, frame_id, lock_state, managed_file, "],["-","matches},"],["+","matches}"],["="," with a warning; without include_locked_layers InDesign does not search "],["-","them,"],["+","them"],["="," "],["-","and a"],["+","(a"],["="," warning "],["-","says"],["+","counts"],["="," "],["-","how many there are. changes.modified_frame_ids lists the frames with replacements."],["+","them)."],["="," No undo."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"fit_frame","fields":{"description":[["=","InDesign's fitting commands (Anpassen) as one call. "],["-","For a graphic"],["+","Graphic"],["="," frame: content_to_frame (distorts), fit_proportionally (whole "],["-","picture visible,"],["+","picture,"],["="," may leave space), fill_proportionally (frame filled, picture cropped), "],["-","center_content,"],["+","center_content"],["="," or frame_to_content "],["-","(the frame"],["+","(frame"],["="," takes the "],["-","size"],["+","picture"],["="," "],["-","of the picture,"],["+","size,"],["="," top left "],["-","corner "],["=","stays). "],["-","For"],["+","Text"],["="," "],["-","a text frame"],["+","frame:"],["="," only "],["-","frame_to_content: the frame shrinks or grows to its text (Rahmen an Inhalt anpassen)"],["+","frame_to_content"],["="," – InDesign fits width "],["-","and height (the width to"],["+","(to"],["="," the longest "],["-","line);"],["+","line) and height;"],["="," 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;"],["+","captions"],["="," "],["-","if"],["+","(check against"],["="," the "],["-","layout uses a "],["=","baseline "],["-","grid,"],["+","grid)."],["="," "],["-","check"],["+","Fails"],["="," "],["-","the"],["+","on"],["="," "],["-","result"],["+","groups,"],["="," "],["-","against"],["+","lines,"],["="," "],["-","it."],["+","empty graphic frames and group members."],["="," Returns frame_bounds_before_mm, frame_bounds_mm, frame_changed, "],["-","and"],["+","coordinate_space,"],["="," for pictures graphic_bounds_mm, fits_frame and effective_ppi (warning below min_ppi), for text "],["-","overset."],["+","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"],["+","with"],["="," a text wrap the document is recomposed "],["-","afterwards "],["=","(recomposed, overset_stories_before, overset_stories_after, overset_changed)."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"generate_index","fields":{"description":[["=","Generate the index (Register) from the entries of add_index_entry into a new text frame on page_id "],["-","– at"],["+","(at"],["="," position_mm or exactly at "],["-","bounds_mm;"],["+","bounds_mm);"],["="," autoflow true lets InDesign add frames and pages until it "],["-","fits (pages_added)."],["+","fits;"],["="," replace true updates the existing index in its frame. "],["-","Options (InDesign"],["+","InDesign"],["="," keeps "],["-","them"],["+","the options"],["="," 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,"],["+","run."],["="," separators {following_topic, between_entries, page_range, between_page_numbers, before_cross_reference, entry_end} "],["-","(metacharacters"],["+","take"],["="," "],["-","allowed,"],["+","metacharacters"],["="," "],["-","e.g."],["+","(e.g."],["="," \"^=\" en dash). Without "],["-","level styles"],["+","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."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"get_font_info_at_index","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"get_frame_lines","fields":{"description":[["=","Read the composed lines of a text frame "],["+","per column "],["=","directly from "],["-","InDesign, per text column"],["+","InDesign"],["="," – 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),"],["+","frame_index,"],["="," page_id,"],["+"," coordinate_space,"],["="," column_count, line_count, columns[] {column_index, "],["-","bounds_mm (from frame, inset, column count and gutter),"],["+","bounds_mm,"],["="," line_count, first_baseline_mm, last_baseline_mm "],["-","(mm from"],["+","(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),"],["+","{index,"],["="," start_index, end_index (story "],["-","indices,"],["+","indices"],["="," "],["-","end exclusive – usable in"],["+","for"],["="," the *_to_range tools), baseline_mm, ascent_pt, descent_pt, left_mm, right_mm, "],["-","paragraph_index (0-based in the story),"],["+","paragraph_index,"],["="," is_first_line_of_paragraph, is_last_line_of_paragraph, paragraph_line_count "],["-","(story-wide,"],["+","(story-wide),"],["="," "],["-","so"],["+","ends_with_hyphen, is_empty, word_count, last_char, text (include_text)}}, overset and truncated. Overset text has no lines; ends_with_hyphen is inferred (an automatic hyphen is not in the text); the last line here of"],["="," 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"],["+","its"],["="," 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"],["+","in"],["="," tables"],["-"," are not Line objects and"],["="," are not listed. Read-only."],["-"," Returns coordinate_space (\"page\" or \"spread\") for the coordinates reported."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"get_frame_options","fields":{"description":[["=","Read the options of an object as InDesign holds them: "],["-","type"],["+","type,"],["="," "],["-","(text, image, rectangle, ellipse, polygon, line, group, other), page_id/page_name (landing),"],["+","page_id/page_name,"],["="," bounds_mm,"],["+"," coordinate_space (\"page\", or \"spread\" on the pasteboard; bounds_mm with page_id can go back to set_frame_bounds),"],["="," rotation_deg, text_wrap {mode, offset_mm}, appearance "],["-","{fill_color,"],["+","(fill"],["="," "],["-","fill_kind,"],["+","and"],["="," "],["-","stroke_color,"],["+","stroke"],["="," "],["-","stroke_kind,"],["+","colour, kind, tint,"],["="," stroke_weight_pt, "],["-","stroke_alignment"],["+","stroke_alignment,"],["="," "],["-","(center,"],["+","gradient"],["="," "],["-","inside,"],["+","angles"],["="," "],["-","outside),"],["+","and"],["="," "],["-","fill_tint_percent,"],["+","fill"],["="," "],["-","stroke_tint_percent, gradient_fill_angle_deg, gradient_stroke_angle_deg, gradient_fill_start_mm, gradient_fill_length_mm},"],["+","start/length),"],["="," 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 %),"],["+","text},"],["="," 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"],["+","anchored)."],["="," "],["-","in text). For a"],["+","A"],["="," text frame "],["-","additionally"],["+","adds"],["="," 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),"],["+","first_baseline_offset,"],["="," min_first_baseline_pt, ignore_text_wrap, optical_margin_alignment and optical_margin_size_pt "],["-","(story-wide, see set_story_options),"],["+","(story-wide),"],["="," 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"],["+","(from"],["="," the top of the page – the direct check "],["-","whether the first line sits on"],["+","against"],["="," the baseline "],["-","grid, if the layout uses one)"],["+","grid)"],["="," and character_count."],["-"," Read-only."],["="," Use it to copy the settings of "],["-","an existing"],["+","a"],["="," frame before rebuilding "],["-","it"],["+","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."],["+","Read-only."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"get_frame_text","fields":{"description":[["=","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"],["+","even_page,"],["="," none for the "],["-","last paragraph)}"],["+","last)}"],["="," and overset for this frame. Column breaks count like paragraph marks; "],["-","zero-width"],["+","U+FEFF"],["="," "],["-","characters (U+FEFF) are"],["+","is"],["="," returned as "],["-","they"],["+","it"],["="," "],["-","are."],["+","is."],["="," For a threaded frame the whole story is returned, "],["-","with "],["=","frame_start_index and frame_end_index "],["-","marking"],["+","mark"],["="," this frame's "],["-","portion – pass"],["+","portion;"],["="," only_frame_portion true "],["-","to get"],["+","returns"],["="," only "],["-","the"],["+","its"],["="," paragraphs "],["-","in this frame (text clipped at the frame boundaries, clipped_start/clipped_end"],["+","(clipped_start/clipped_end"],["="," mark "],["-","the cut), and"],["+","cuts),"],["="," max_chars "],["-","to cap"],["+","caps"],["="," the text "],["-","returned"],["+","(truncated,"],["="," "],["-","(truncated true, paragraphs_omitted counts the rest)."],["+","paragraphs_omitted)."],["="," Indices always refer to the whole story, "],["-","so they can be used with"],["+","for"],["="," 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,"],["+","file,"],["="," home "],["-","folder "],["=","as "],["-","~;"],["+","~,"],["="," "],["-","otherwise"],["+","else"],["="," null) – writing tools refuse checked_in_story, locked_story, missing_lock_state and mixed_lock_state. "],["-","Read-only."],["+","Read-only;"],["="," "],["-","There"],["+","there"],["="," is no include_overset parameter."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"get_image_link_info","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"get_layout_grid","fields":{"description":[["=","Read the type area (Satzspiegel) of every document page and, by default, every "],["-","master"],["+","parent"],["="," 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"],["+","(on"],["="," facing pages also inside = "],["-","left and"],["+","left,"],["="," outside = right – InDesign stores the "],["-","inside margin (Bundsteg)"],["+","Bundsteg"],["="," as \"left\"), column_count, column_gutter_mm, type_area_mm {x, y, width, height} "],["-","measured "],["=","from the top left "],["-","corner "],["=","of "],["-","that"],["+","the"],["="," page, column_width_mm, columns_positions_mm (from the left edge of the type area; "],["-","a"],["+","two"],["="," "],["-","two-column grid with"],["+","columns,"],["="," 5 mm gutter on 170 "],["-","mm reads"],["+","mm:"],["="," [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,"],["="," 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:"],["+","Warns on"],["="," bleed 0, "],["+","a "],["=","baseline grid"],["+"," that"],["="," does not fit the type "],["-","area,"],["+","area and"],["="," relative_to unknown. Read-only."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"get_page_state","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"get_selection","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"get_table","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"group_frames","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"import_styles","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"insert_page_number_marker","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"insert_text_variable","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_alt_texts","fields":{"description":[["=","List the image frames (Bildrahmen) of the document with their alternative text (Alternativtext) for an accessible PDF – "],["-","also "],["=","anchored and grouped ones "],["+","too "],["=","– and groups "],["-","that carry"],["+","with"],["="," their own alternative text. "],["-","Each"],["+","Per"],["="," entry: frame_id, kind (image | group), page, on_parent, anchored, in_group, file_name, "],["-","alt_source (custom, xmp_title, xmp_description, xmp_headline, xmp_alt_text, xmp_extended_description, xmp_other, structure, decorative),"],["+","alt_source,"],["="," alt_text (resolved; \"\" = none, null = not readable here), xmp_property, actual_text_source, actual_text, "],["-","tag (from_structure, artifact, based_on_object),"],["+","tag,"],["="," covered_by_group_id and "],["-","problem:"],["+","problem"],["="," "],["-","missing,"],["+","(missing,"],["="," "],["-","decorative_not_artifact (exported as a figure without text),"],["+","decorative_not_artifact,"],["="," hidden_by_group "],["-","(a"],["+","– a"],["="," group with its own alternative text swallows the "],["-","image),"],["+","image"],["="," "],["-","unverified"],["+","–,"],["="," "],["-","(XMP field not readable),"],["+","unverified,"],["="," hides_children "],["-","(group) "],["=","or "],["-","null."],["+","null)."],["="," Parent page images only with include_parent_pages true. Returns items[], count, total, "],["-","truncated,"],["+","truncated and"],["="," summary {images, missing, artifacts, hidden_by_group, decorative_not_artifact, unverified, groups_with_alt_text}. Read-only; change them with set_alt_text."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_articles","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_guides","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_index","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_layers","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_links","fields":{"description":[["=","List the links "],["-","(Verknuepfungen)"],["+","(Verknüpfungen)"],["="," of the document, optionally filtered by path_contains "],["-","(substring of path or file name, case-insensitive)."],["+","(case-insensitive)."],["="," Per link: link_id, file_name, file_path, status (NORMAL, LINK_MISSING, LINK_OUT_OF_DATE, EMBEDDED), page_id, "],["-","page_name and"],["+","page_name,"],["="," 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"],["+","InCopy:"],["="," its first text frame), "],["+","container_id, "],["=","container_type, graphic_type "],["-","(InDesign class of the linked object, e.g."],["+","(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 –,"],["+","in_overset,"],["="," or "],["-","unknown),"],["+","unknown)"],["="," "],["-","spread_id"],["+","and"],["="," "],["-","(the"],["+","spread_id;"],["="," "],["-","spread"],["+","also"],["="," "],["-","or"],["+","count."],["="," "],["-","parent spread of the object; for anchored objects the spread of the text frame, null in overset). For an"],["+","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"],["+","on"],["="," "],["-","location"],["+","the"],["="," pasteboard or "],["-","anchored"],["+","in"],["="," "],["-","with in_overset true is a leftover that"],["+","overset"],["="," does not print – delete_link removes it, list_pasteboard_items lists"],["-"," all"],["="," pasteboard objects. without_object true marks a link InDesign keeps without any object "],["-","(location unknown; often"],["+","(often"],["="," a "],["-","Firefly/GenAI"],["+","generated"],["="," image whose frame was "],["-","deleted) –"],["+","deleted):"],["="," it does not print, delete_link cannot reach it, "],["-","and "],["=","a warning names the remedy "],["-","(export"],["+","(IDML"],["="," "],["-","as"],["+","round"],["="," "],["-","IDML and reopen). Use it to match pictures to articles by page number or to spot motifs of old issues by file name."],["+","trip)."],["="," Read-only."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_object_styles","fields":{"description":[["=","List the object styles (Objektformate) of the document: styles[] {style_id, name, group_path, based_on, built_in ([None], [Basic Graphics Frame], [Basic Text Frame] – localized "],["-","names "],["=","in a German InDesign), applies {fill, stroke, stroke_and_corner, transform, text_frame_general, text_frame_baseline, text_frame_auto_sizing, paragraph_style, story_options, text_wrap_and_others, anchored_object, frame_fitting} "],["-","(which"],["+","(the"],["="," categories the style sets), fill_color, stroke_color, stroke_weight_pt, "],["-","paragraph_style,"],["+","paragraph_style"],["="," and – "],["-","each"],["+","null"],["="," "],["-","only when"],["+","unless"],["="," the style sets that "],["-","category, otherwise null"],["+","category"],["="," – fill_tint_percent, overprint_fill, stroke_tint_percent, stroke_type, "],["-","corners {top_left {type, radius_mm} … uniform},"],["+","corners,"],["="," text_frame "],["-","{columns,"],["+","(as"],["="," "],["-","inset_mm,"],["+","get_frame_options),"],["="," "],["-","vertical_justification,"],["+","text_wrap,"],["="," "],["-","vertical_threshold_mm, first_baseline_offset, min_first_baseline_pt, ignore_text_wrap}, text_wrap {mode, offset_mm}, effects (opacity, blend mode, drop shadow, feather),"],["+","effects,"],["="," anchored, frame_fitting {on_empty_frame, auto_fit, crop_mm}, story {optical_margin_alignment, "],["-","optical_margin_size_pt}},"],["+","optical_margin_size_pt}} and"],["="," count. include_built_in false hides the bracketed defaults. "],["-","Read-only."],["+","Read-only;"],["="," "],["-","Use"],["+","apply"],["="," "],["-","the"],["+","them by"],["="," exact "],["-","names"],["+","name"],["="," with apply_object_style."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_pages","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_paragraph_styles","fields":{"description":[["=","List the paragraph styles (Absatzformate) of the document, "],["-","including those in "],["=","style "],["-","groups:"],["+","groups included:"],["="," styles[] {name, style_id, group (\"\" at top level, "],["-","\"Group/Subgroup\" nested),"],["+","\"Group/Subgroup\"),"],["="," 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},"],["+","drop_cap,"],["="," pdf_tag "],["-","(PDF export tag, \"\""],["+","(\"\""],["="," = "],["-","none)} 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, pdf_tag}. Each paragraph style also carries"],["+","none),"],["="," indents {left_indent_mm, first_line_indent_mm, right_indent_mm, last_line_indent_mm, tab_stops[], language}, align_to_baseline_grid, capitalization, paragraph_rules {above, below: {on, weight_pt, type, color, tint, offset_mm, left_indent_mm, right_indent_mm, "],["-","width column|text|frame}} (Absatzlinien),"],["+","width}},"],["="," span_columns "],["-","{type single_column|span_columns|split_columns,"],["+","{type,"],["="," count, space_before_mm, space_after_mm, inside_gutter_mm, "],["-","outside_gutter_mm} (Spaltenspanne) and"],["+","outside_gutter_mm},"],["="," character {underline, strikethrough, baseline_shift_pt, "],["-","position};"],["+","position}}"],["="," "],["-","each"],["+","and the"],["="," character "],["-","style"],["+","styles"],["="," "],["-","also"],["+","(Zeichenformate) as character_styles[] {name, style_id, group, based_on, font_family, font_style, point_size, fill_swatch, tracking, pdf_tag,"],["="," language, baseline_shift_pt, "],["-","position"],["+","position,"],["="," "],["-","(normal, superscript, subscript …), underline and"],["+","underline,"],["="," strikethrough – null "],["-","when"],["+","where"],["="," the style leaves "],["-","them"],["+","an"],["="," "],["-","alone."],["+","attribute alone}."],["="," Internal styles "],["-","whose name starts"],["+","starting"],["="," with \"[\" are excluded "],["-","(internal_styles_excluded counts them)."],["+","(internal_styles_excluded)."],["="," Read-only."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_parent_pages","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_pasteboard_items","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_sections","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_stories","fields":{"description":[["=","Overview of the stories "],["-","(Textabschnitte) of the document:"],["+","(Textabschnitte):"],["="," 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},"],["+","managed_file (as get_frame_text)},"],["="," count, "],["-","total_stories,"],["+","total_stories and"],["="," overset_count (warning "],["-","when "],["=","above 0). "],["-","Stories"],["+","Parent"],["="," "],["-","on"],["+","page"],["="," "],["-","parent"],["+","stories"],["="," "],["-","pages"],["+","only"],["="," "],["-","are skipped unless"],["+","with"],["="," 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."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_swatches","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_text_variables","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"list_toc_styles","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"move_frame_to_page","fields":{"description":[["=","Move a text frame, image frame, rectangle, line or group to another page of the same document, keeping id, content, threading and "],["-","links; graphics of a group travel with it"],["+","links"],["="," (DOM "],["-","move(),"],["+","move())."],["="," "],["-","not bounds)."],["+","Without"],["="," position_mm "],["-","{x, y} sets "],["=","the "],["-","top"],["+","object"],["="," "],["-","left"],["+","keeps"],["="," "],["-","corner"],["+","its position"],["="," relative to the "],["-","new page; without it the object keeps the position it had on the old "],["=","page. pasteboard "],["-","{side,"],["+","{side"],["="," "],["-","gap_mm,"],["+","left|right"],["="," "],["-","y_mm} puts"],["+","(of"],["="," the "],["-","object"],["+","leftmost"],["="," "],["-","on"],["+","or"],["="," "],["-","the"],["+","rightmost"],["="," "],["-","pasteboard"],["+","page"],["="," "],["-","(Montagefläche) beside"],["+","of"],["="," the spread of "],["-","page_id"],["+","page_id),"],["="," "],["-","instead: side left = left of the leftmost page of that spread, right = right of the rightmost page, gap_mm between object and page edge,"],["+","gap_mm,"],["="," y_mm "],["-","the top"],["+","(top"],["="," edge relative to the "],["-","page"],["+","page;"],["="," "],["-","(default:"],["+","default"],["="," as"],["+"," before)} puts it"],["="," on the "],["-","old"],["+","pasteboard"],["="," "],["-","page);"],["+","instead;"],["="," "],["-","not together with position_mm. The"],["+","the"],["="," answer then "],["-","carries"],["+","has"],["="," on_pasteboard "],["-","true"],["+","true, landed_on_page_id null"],["="," and "],["-","landed_on_page_id null; "],["=","bounds_mm"],["-"," stay"],["="," relative to "],["-","page_id (negative x on the left side)."],["+","page_id."],["="," Objects inside a group are "],["-","refused."],["+","refused;"],["="," "],["-","Returns"],["+","set"],["="," "],["-","frame_id,"],["+","rotation"],["="," "],["-","id_preserved"],["+","0"],["="," "],["-","(false"],["+","first"],["="," "],["-","only"],["+","for"],["="," "],["-","when"],["+","rotated"],["="," "],["-","InDesign needed duplicate-and-delete, then the id is new), landed_on_page_id, landed_on_page_name and bounds_mm. Careful:"],["+","objects."],["="," InDesign assigns an object to the page holding its centre – a half-page bleed object can stay on the neighbouring page "],["-","(warning); then"],["+","(warning;"],["="," use set_frame_bounds without "],["-","page_id. Rotated objects: set rotation 0 first."],["+","page_id)."],["="," Returns "],["-","coordinate_space"],["+","frame_id,"],["="," "],["-","\"page\";"],["+","id_preserved (false"],["="," when "],["+","InDesign had to duplicate, then "],["=","the "],["-","object"],["+","id"],["="," "],["-","carries"],["+","is new), landed_on_page_id, landed_on_page_name, bounds_mm and coordinate_space; with"],["="," a text wrap the document is recomposed "],["-","afterwards "],["=","(recomposed, overset_stories_before, overset_stories_after, overset_changed)."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"move_pages","fields":{"description":[["=","Move a block of "],["+","1–48 "],["=","neighbouring pages"],["-"," (1–48 page_ids, direct neighbours)"],["="," before or after "],["-","reference_page_id,"],["+","reference_page_id"],["="," "],["-","which must lie outside"],["+","(outside"],["="," the "],["-","block."],["+","block)."],["="," allow_page_shuffle "],["-","overrides \"allow document pages"],["+","applies"],["="," to"],["-"," shuffle\" for"],["="," this call only. "],["-","Warnings: moving"],["+","Moving"],["="," an odd number of pages flips the "],["-","left/right "],["=","side of every page in "],["-","between;"],["+","between (warning);"],["="," with shuffle off the pages join the target "],["-","spread, and spread_page_counts shows overfilled spreads"],["+","spread"],["="," – a spread with more than two pages is a warning that spells out the new "],["-","spread "],["=","division (Bogenaufteilung). InDesign holds at most 10 pages "],["-","on a"],["+","per"],["="," spread: "],["-","when"],["+","beyond"],["="," "],["-","the target spread would exceed that,"],["+","that"],["="," the call fails before anything moves (invalid_state, details.code \"spread_page_limit\" with spread_index and predicted_page_count). keep_spreads true rebuilds the spreads between "],["-","the "],["=","old and"],["-"," the"],["="," new place as pairs"],["-"," afterwards"],["="," (facing pages: left and right "],["-","page "],["=","together,"],["-"," each on its left/right side,"],["="," starting like the first "],["-","page of the document;"],["+","page;"],["="," single-sided: one"],["-"," page"],["="," per spread; a page "],["-","that does not end up on"],["+","off"],["="," its expected side is a "],["-","warning)"],["+","warning);"],["="," "],["-","– the new spreads"],["+","they"],["="," keep their pages when pages shuffle "],["-","later (like move_pages_to_new_spread)."],["+","later."],["="," Returns moved_page_ids, names_before, names_after, page_count, spread_count, spread_page_counts[], pages[] {page_id, index, name, side, spread_index}, keep_spreads and spreads_rebuilt."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"move_pages_to_new_spread","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"override_parent_item_on_page","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"package_document","fields":{"description":[["=","Package the"],["+"," saved"],["="," document for the printer (Verpacken): a folder with the document, Links, Document fonts and a "],["-","report;"],["+","report,"],["="," "],["-","options"],["+","optionally"],["="," "],["-","copy_fonts, copy_graphics, update_graphics (default true), copy_profiles, include_hidden_layers, ignore_preflight_errors (default true), create_report (default true), include_idml, include_pdf with pdf_preset (default: the high quality preset). The document must be saved. Missing links"],["+","IDML"],["="," and "],["-","fonts come back as warnings and fields;"],["+","PDF."],["="," InDesign refuses the package "],["-","when"],["+","on"],["="," preflight errors "],["+","unless they "],["=","are "],["-","not"],["+","ignored"],["="," "],["-","ignored."],["+","(default)."],["="," Returns folder_path, the options used, missing_links, missing_fonts, "],["-","entries_in_folder,"],["+","entries_in_folder"],["="," and the "],["-","font"],["+","document"],["="," "],["-","list of the document"],["+","fonts"],["="," with "],["-","its"],["+","their"],["="," package status: fonts[] {family, style, name, postscript_name, "],["-","type (opentype_cff, opentype_tt, truetype, type1 …),"],["+","type,"],["="," status, location, packaged "],["-","(true, false, or null"],["+","(null"],["="," when the file could not be matched), reason (not_installed, adobe_fonts, not_copied, copy_fonts_off, location_unknown, fonts_folder_missing)}, fonts_total, fonts_packaged_count, fonts_not_packaged[] and fonts_folder. The "],["-","document font "],["=","list includes fonts "],["-","used only by"],["+","of"],["="," unused "],["-","styles (e.g. the basic paragraph style),"],["+","styles,"],["="," so it can be longer than find_font_usage. "],["-","Fonts"],["+","InDesign"],["="," "],["-","activated"],["+","never"],["="," "],["-","through"],["+","copies"],["="," Adobe Fonts (Creative Cloud) "],["-","are never copied by InDesign "],["=","– a warning names "],["-","them."],["+","them;"],["="," "],["-","With"],["+","another warns that"],["="," managed stories (editorial workflow) "],["-","a"],["+","are"],["="," "],["-","warning"],["+","packaged"],["="," "],["-","says"],["+","as"],["="," "],["-","that the package holds copies of their story files and is not bound to the editorial workflow."],["+","copies."],["="," Long operation (timeout 600 s)."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"place_image","fields":{"description":[["=","Place an image or PDF file (real path on the InDesign machine) into a graphic frame, replacing "],["-","whatever"],["+","its"],["="," "],["-","it held"],["+","content"],["="," (crop and scale"],["-"," are"],["="," reset – to merely swap the file use relink_links). "],["-","fit:"],["+","Without"],["="," "],["-","fill_proportionally, fit_proportionally, fit_content_to_frame or center_content; without it"],["+","fit"],["="," the frame fitting options "],["-","of the frame "],["=","apply. pdf_crop"],["-"," chooses the PDF page box:"],["="," media (InDesign "],["-","default"],["+","default)"],["="," "],["-","– the whole sheet including"],["+","includes"],["="," printer "],["-","marks,"],["+","marks –"],["="," the usual reason for misplaced "],["-","ads), crop, trim,"],["+","ads;"],["="," bleed "],["-","(for"],["+","suits"],["="," bleed "],["-","ads), art or content; pdf_page picks the page (default 1)."],["+","ads."],["="," When the PDF "],["-","has"],["+","lacks"],["="," "],["-","no"],["+","the"],["="," "],["-","such"],["+","requested"],["="," box "],["-","(a"],["+","(e.g. a"],["="," QR code PDF without "],["-","TrimBox, say), InDesign refuses – the tool then falls back to"],["+","TrimBox)"],["="," the next larger box"],["+"," is used"],["="," (bleed → trim → crop → media) with a "],["-","warning and reports pdf_crop_used;"],["+","warning;"],["="," without pdf_crop the box "],["-","preset"],["+","last chosen"],["="," in"],["-"," InDesign applies (the last choice of"],["="," the place "],["-","dialog,"],["+","dialog"],["="," "],["-","not always media)"],["+","applies"],["="," and the same fallback starts "],["-","from that box;"],["+","there;"],["="," pdf_crop_fallback false"],["-"," turns that off and"],["="," returns the io_error instead. "],["-","The place"],["+","Place"],["="," preferences are "],["-","set"],["+","restored"],["="," "],["-","for"],["+","after"],["="," "],["-","this"],["+","the"],["="," "],["-","call only and restored."],["+","call."],["="," Returns frame_id, link_status, frame_bounds_mm, graphic_bounds_mm, pdf_crop_used and fits_frame "],["-","(true when the graphic"],["+","(graphic"],["="," covers the frame within 0.2 "],["-","mm;"],["+","mm,"],["="," otherwise a warning); "],["-","a"],["+","warnings"],["="," "],["-","warning"],["+","for"],["="," "],["-","when the"],["+","an"],["="," effective resolution "],["-","is "],["=","below "],["-","min_ppi,"],["+","min_ppi"],["="," and "],["-","a warning when the"],["+","for"],["="," XMP metadata "],["-","of the file points"],["+","pointing"],["="," to a remote Content Credentials manifest (exports can stall on "],["-","it;"],["+","it)."],["="," "],["-","the"],["+","InDesign"],["="," "],["-","file"],["+","ignores"],["="," "],["-","is not changed). A"],["+","a"],["="," changed "],["-","CropBox of a PDF is ignored by InDesign;"],["+","CropBox;"],["="," for asymmetric bleed derive a placement copy of the PDF. A timed-out call may still have placed – check get_image_link_info before repeating."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"place_text_file","fields":{"description":[["=","Place a manuscript file (.docx, .doc, .rtf or .txt on the InDesign machine) into a text frame – "],["-","the"],["+","cheaper"],["="," "],["-","cheap way for long articles instead of"],["+","than"],["="," passing "],["-","the"],["+","long"],["="," 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)"],["+","text,"],["="," so "],["-","that "],["=","paragraph_style"],["-"," (applied to every placed paragraph, like apply_paragraph_style_to_range)"],["="," gives the "],["-","document's paragraph"],["+","document"],["="," style;"],["-"," retain_formatting"],["="," true keeps Word styles and local formatting "],["-","and"],["+","(style"],["="," "],["-","imports the Word paragraph styles (names"],["+","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"],["+","true;"],["="," the mapped Word styles "],["-","again"],["+","are"],["="," "],["-","(styles_removed);"],["+","removed,"],["="," "],["-","every"],["+","styles_removed)."],["="," "],["-","target style must exist. typographers_quotes (default true) converts straight quotes. page_breaks (.docx, .doc, .rtf) decides what becomes of page breaks in the"],["+","A"],["="," 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"],["+","Footnotes, endnotes"],["="," and "],["-","endnotes"],["+","tables"],["="," are "],["-","imported, tables come in as InDesign tables,"],["+","imported;"],["="," graphics, index and table of contents are not "],["-","imported"],["+","(create_toc,"],["="," "],["-","(build them in InDesign with create_toc and with add_index_entry plus"],["+","add_index_entry,"],["="," generate_index). Returns placed_start_index, "],["-","placed_end_index and"],["+","placed_end_index,"],["="," inserted_chars (story indices for the *_to_range tools), story_length, paragraph_count, styles_added "],["-","(paragraph styles"],["+","(styles"],["="," the import "],["-","created – remove or map them),"],["+","created),"],["="," styles_mapped and "],["-","overset of the story."],["+","overset."],["="," autoflow true "],["-","(Sitzung 8) keeps adding"],["+","adds"],["="," pages after the page of the last frame "],["-","– same"],["+","(same"],["="," parent "],["-","page, a"],["+","page;"],["="," frame"],["-"," with the"],["="," size and frame options "],["-","of"],["+","copied"],["="," "],["-","the"],["+","value"],["="," "],["-","last"],["+","by"],["="," "],["-","one"],["+","value;"],["="," "],["-","(on"],["+","on"],["="," facing pages placed into the type area "],["-","of the new page when the last frame fills its type area, otherwise"],["+","or"],["="," mirrored at the "],["-","spine;"],["+","spine)"],["="," "],["-","placement type_area | mirrored | same per added frame) (columns, gutter, insets, vertical justification, first baseline – copied value by value),"],["+","with"],["="," threaded "],["-","–"],["+","frames"],["="," until the text fits or max_pages "],["-","(default 20) "],["=","is "],["-","reached;"],["+","reached,"],["="," "],["-","the"],["+","and"],["="," "],["-","result carries"],["+","returns"],["="," autoflow {pages_added, frames_added[] {frame_id, page_id, bounds_mm, "],["-","placement,"],["+","placement type_area|mirrored|same,"],["="," frame_options_copied, frame_options_failed[], "],["-","frame_options_skipped[] (values that do not apply, e.g. vertical_threshold without vertical justify),"],["+","frame_options_skipped[],"],["="," columns {count, gutter_mm}}, overset, stopped}. Without "],["-","autoflow,"],["+","autoflow"],["="," "],["-","thread frames with"],["+","use"],["="," thread_text_frames; to continue"],["-"," the autoflow of"],["="," a story already placed "],["-","(overset after max_pages, later edits) "],["=","use autoflow_story."],["-"," Autoflow keeps the layout window where it was (keep_view, default true; view_restored in the answer) – pass keep_view false to follow the new pages."],["="," A timed-out call may still have placed – check get_frame_text before repeating. "],["-","Stories"],["+","A story"],["="," managed by an editorial workflow (InCopy) "],["-","that are"],["+","and"],["="," not checked out here "],["-","(lock_state checked_in_story, locked_story, missing_lock_state or mixed_lock_state) are"],["+","is"],["="," refused before "],["-","anything"],["+","writing:"],["="," "],["-","is written: invalid_state with"],["+","invalid_state,"],["="," 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."],["+","managed_file)."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""},{"path":"$.\"properties\".\"keep_view\".\"description\"","old":"\"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 when the document has no window).\"","new":"\"Restore the view (page and zoom) afterwards; InDesign otherwise jumps to the new page. Default true. The answer carries view_restored (null without a window).\""}]}},{"tool":"position_image_in_frame","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"preflight_document","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"read_document_profile","fields":{"description":[["=","Read the complete design profile of an open document or of an .indd/.indt/.idml file in one "],["-","call,"],["+","call –"],["="," to explain it, check it or set new articles by it. "],["-","Returns "],["=","profile "],["-","with"],["+","holds"],["="," document (page size, facing pages, page and spread count, binding, bleed_mm, "],["-","slug_mm (Infobereich),"],["+","slug_mm,"],["="," sections, new_page_margins_mm), baseline_grid "],["-","(start_mm, increment_mm, increment_pt, relative_to, shown – as"],["+","(as"],["="," get_layout_grid), parent_pages[] "],["-","(Musterseiten: name, prefix,"],["+","(prefix,"],["="," based_on, per page "],["-","side,"],["+","side"],["="," margins_mm, "],["-","column_count, column_gutter_mm, column_width_mm,"],["+","columns,"],["="," type_area_mm (Satzspiegel), columns_positions_mm, baseline_grid_check, "],["-","used_by_pages and"],["+","used_by_pages,"],["="," objects"],["-"," – page numbers, running heads, frames, lines –"],["="," in the format of read_layout), pages[] (name, parent, side, margins_differ_from_parent), paragraph_styles[] with every value resolved through based_on "],["-","(font,"],["+","(the"],["="," "],["-","size,"],["+","fields"],["="," "],["-","leading,"],["+","of"],["="," "],["-","tracking,"],["+","list_paragraph_styles"],["="," "],["-","alignment, spaces, indents and tab_stops, align_to_baseline_grid, language, hyphenation_options, justification_options, keep_options, drop_cap, paragraph_rules above/below, span_columns, capitalization, position, underline, strikethrough, baseline_shift_pt,"],["+","plus"],["="," shading, border, list_type, "],["-","next_style,"],["+","next_style and"],["="," counts of nested/line/GREP styles), character_styles[] (only "],["-","the "],["=","values the style "],["-","sets,"],["+","sets),"],["="," "],["-","others null), object_styles[] (enabled categories, fill, stroke, corner, paragraph_style, text_frame, text_wrap),"],["+","object_styles[],"],["="," table_styles, cell_styles, "],["-","swatches[] (colour model and values, tints, gradients),"],["+","swatches[],"],["="," layers[], fonts[] (status, used_by_styles) and usage (unused styles and parent pages). Every style carries usage {paragraphs or "],["-","ranges/characters"],["+","characters"],["="," or objects, pages, "],["-","parent_pages}: how often it is used and on which pages (the pages of the frames holding the story)."],["+","parent_pages}."],["="," Measures in mm, type sizes and spaces "],["-","before/after "],["=","in pt. "],["-","format"],["+","A"],["="," "],["-","markdown"],["+","magazine"],["="," "],["-","adds"],["+","profile"],["="," "],["-","summary,"],["+","is"],["="," "],["-","a"],["+","several"],["="," "],["-","readable"],["+","hundred"],["="," "],["-","overview"],["+","kB:"],["="," "],["-","with tables;"],["+","pass"],["="," output_path "],["-","writes"],["+","(JSON,"],["="," "],["-","the profile"],["+","summary"],["="," as "],["-","JSON (and the summary"],["+",".md"],["="," next to "],["-","it as .md);"],["+","it);"],["="," the answer then carries counts and summary only unless include_profile is true. "],["-","The profile of a magazine is several hundred kB: for a long document pass output_path. all_attributes true adds attributes, every resolved IDML value of each style. "],["=","Read-only for the document."]]}},{"tool":"read_layout","fields":{"description":[["=","Read the spreads (Druckbögen) of an open document or of an .idml/.indd file as a layout description "],["-","(JSON):"],["+","(JSON) that build_issue and build_snippet take unchanged:"],["="," per spread"],["-"," the"],["="," page names, parent "],["-","page prefixes (Musterseiten), page"],["+","prefixes,"],["="," margins and every object with type, page, x, y, width, height in mm from the top left"],["-"," corner"],["="," of its page, rotation, layer, object style, fill, text wrap, text frame options and threading order (chain_index); images and PDFs with "],["-","file "],["=","path, scale, offset and graphic bounds; texts as "],["-","paragraph lists"],["+","paragraphs"],["="," with paragraph and character styles and local formatting "],["-","(Laufweite"],["+","(tracking"],["="," and other "],["-","overrides, which"],["+","overrides"],["="," the line breaks depend on). Groups, lines, ellipses, rotated objects and stories with tables or anchored objects "],["-","are kept as"],["+","stay"],["="," unchanged IDML (type raw, "],["-","raw_xml). The result can be passed to build_issue or build_snippet unchanged. Each object kept as IDML"],["+","raw_xml)"],["="," and "],["-","each such story also carries"],["+","carry"],["="," description, a readable account that building "],["-","ignores:"],["+","ignores"],["="," "],["-","for"],["+","(kind,"],["="," "],["-","objects kind (group, line, ellipse, polygon, rectangle, text_frame …), page_name, x_mm, y_mm, width_mm, height_mm, rotation_deg (as InDesign shows it), own_width_mm"],["+","position"],["="," and "],["-","own_height_mm"],["+","size in mm, rotation, style, fill and stroke, graphic, children"],["="," of "],["-","a rotated object, layer, object_style, fill, tint, stroke, stroke_weight_pt, stroke_type, story of a text frame, graphic {type, file}, for lines from_mm, to_mm, length_mm, line_start, line_end, for groups children[] in the same form;"],["+","groups;"],["="," for stories "],["-","paragraphs[]"],["+","paragraphs,"],["="," "],["-","{style, text} with [table n]"],["+","tables[]"],["="," and "],["-","[anchored object n] in the text, tables[] {rows, columns, header_rows, footer_rows, table_style, column_widths_mm, row_heights_mm, cells[] {row, column, row_span, column_span, cell_style, fill, paragraphs}} and anchored_objects[] (with anchored_position)."],["+","anchored_objects[])."],["="," include_parent_pages true adds parent_spreads[] "],["-","{name,"],["+","and"],["="," "],["-","prefix, base_name, pages, parents, margins, objects} – the parent pages (Musterseiten) with their objects (page number, running heads, frames, lines)"],["+","parent_stories"],["="," in the same format "],["-","– and their texts as parent_stories; build_issue"],["+","(build_issue"],["="," takes parent pages from the template and ignores "],["-","both."],["+","them)."],["="," "],["-","Pass"],["+","With"],["="," output_path"],["-"," to write the JSON to a file;"],["="," the answer"],["-"," then"],["="," carries the counts only (include_layout true adds the layout). Read-only for the document."]]}},{"tool":"relink_links","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"replace_font","fields":{"description":[["=","Replace every use of a font family (or one style of it) "],["-","in the document "],["=","by another installed font – InDesign's "],["-","\"find"],["+","Find"],["="," "],["-","font / replace\""],["+","Font"],["="," as one call: in paragraph and character styles and "],["-","in "],["=","local formatting, on document and master pages. The "],["-","standard"],["+","usual"],["="," step after open_document reports "],["-","missing_fonts,"],["+","missing_fonts."],["="," "],["-","and when a publication changes its typeface. from_family (required),"],["+","Without"],["="," from_style"],["-"," (optional: without it"],["="," every style of the family is replaced, keeping the style name where "],["-","it exists in "],["=","the target family "],["-","–"],["+","has"],["="," "],["-","styles"],["+","it;"],["="," "],["-","that do not exist there"],["+","others"],["="," are left"],["-"," alone"],["="," with a warning listing "],["-","available_styles);"],["+","available_styles. A"],["="," to_family "],["-","(required,"],["+","that"],["="," "],["-","must"],["+","is"],["="," "],["-","be"],["+","not"],["="," installed "],["-","– otherwise"],["+","is"],["="," not_found with "],["-","available_styles),"],["+","available_styles."],["="," "],["-","to_style (only with from_style; default the same style name). scope all (default) | styles_only | local_only. include_master_pages (default true), include_locked_layers (default false – stories"],["+","Stories"],["="," on locked layers are skipped "],["-","and"],["+","unless"],["="," "],["-","listed"],["+","include_locked_layers"],["="," "],["-","in skipped_locked). dry_run true only counts."],["+","(skipped_locked)."],["="," Never changes text. Returns from, to, styles_changed[] {kind, name, from_style, to_style}, runs_changed, characters_changed, stories_touched, remaining_occurrences "],["-","(runs still using the old font – 0"],["+","(0"],["="," when everything was reached; remaining_where lists up to 20), skipped_locked[], styles_missing_in_target[], overset_stories[] "],["-","(InDesign recomposes every paragraph – check"],["+","(check"],["="," get_frame_lines) and dry_run. "],["-","Pitfalls: style"],["+","Style"],["="," names are family-specific (\"75 Bold\" is not \"Bold\") – check "],["-","them "],["=","with get_font_info_at_index; a missing font "],["-","exists in the document only as a name and "],["=","is replaced through "],["-","that"],["+","its"],["="," name; composite fonts and text in placed graphics are not affected. "],["-","InDesign names a"],["+","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"],["+","matches"],["="," with or without "],["-","that suffix – "],["=","the "],["-","connector matches both and reads back"],["+","suffix;"],["="," the name InDesign "],["-","uses."],["+","uses is read back."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"replace_swatch","fields":{"description":[["=","Replace every use of a swatch (fills, strokes, text, paragraph, character and object styles, tables, gradient stops) with another existing swatch and remove the old one – InDesign's "],["-","\"delete"],["+","delete"],["="," swatch "],["-","…"],["+","with"],["="," "],["-","replace"],["+","replace."],["="," "],["-","with\". Typical use:"],["+","Typical:"],["="," RGB swatches from a foreign document replaced by CMYK swatches "],["-","created with create_swatch,"],["+","(create_swatch),"],["="," or "],["-","duplicate swatches"],["+","duplicates"],["="," merged. "],["-","old_name or old_swatch_id (exact, as list_swatches shows it; built-in"],["+","Built-in"],["="," swatches cannot be "],["-","replaced), new_name or new_swatch_id (must exist – colour, tint or gradient)."],["+","replaced."],["="," delete_old"],["-"," true (default) lets InDesign replace everything and removes the old swatch;"],["="," false only reassigns text runs, fills, strokes and paragraph/character styles by search and keeps the swatch (object styles, table styles and gradient stops "],["-","then "],["=","keep the old one – warning). "],["-","dry_run true only counts. "],["=","A swatch that "],["-","serves as"],["+","is"],["="," the base of a mixed ink can be refused "],["-","by InDesign "],["=","(invalid_state). Returns old"],["+"," and new"],["="," {name, swatch_id, kind, space, values},"],["-"," new {…},"],["="," deleted, usage_before {text_runs, fills, strokes, paragraph_styles, character_styles, object_styles, tables (null – not counted), gradients}, "],["-","reassigned (with delete_old false),"],["+","reassigned,"],["="," remaining_swatches and dry_run. "],["-","A change of"],["+","Changing"],["="," colour space"],["-"," (RGB to CMYK)"],["="," is no colour management – the printed colour can differ; check the values with "],["-","list_swatches first, and re-read list_swatches afterwards."],["+","list_swatches."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"save_document","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"save_document_as","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"scale_image_in_frame","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_alt_text","fields":{"description":[["=","Set the object export options for an accessible PDF on one object (frame_id) or "],["-","many (frame_ids, "],["=","up to "],["-","500,"],["+","500"],["="," "],["-","e.g. every image of an issue): source of"],["+","(frame_ids):"],["="," the alternative text (Alternativtext)"],["+"," source"],["="," – custom with text, an XMP field of the image "],["-","file "],["=","(xmp_title, xmp_description, xmp_headline, xmp_alt_text, xmp_extended_description, xmp_other with "],["-","xmp_property {namespace, path}),"],["+","xmp_property),"],["="," structure or decorative –, actual_text "],["-","(\"\" removes it) "],["=","and "],["-","tag:"],["+","tag"],["="," "],["-","from_structure,"],["+","(from_structure,"],["="," artifact "],["-","(not read:"],["+","for"],["="," decorative lines, "],["-","ornaments,"],["+","ornaments"],["="," "],["-","background"],["+","and"],["="," "],["-","images)"],["+","backgrounds,"],["="," or "],["-","based_on_object. text alone means source custom."],["+","based_on_object)."],["="," source decorative also sets tag "],["-","artifact (a decorative image that is no artifact is exported as a figure without text)."],["+","artifact."],["="," Works on every page "],["-","object (image frame, line, rectangle, group, anchored frame)."],["+","object."],["="," Warnings: alternative text on a group "],["-","turns"],["+","makes"],["="," "],["-","the whole group into"],["+","it"],["="," one figure (texts of its members are "],["-","lost),"],["+","lost);"],["="," artifact"],["+"," has no effect"],["="," on a "],["-","group"],["+","group; actual_text"],["="," has no "],["-","effect, actual_text"],["+","effect"],["="," on a text "],["-","frame has no effect,"],["+","frame;"],["="," artifact on a text frame hides its "],["-","text – and its stroke and fill stay untagged anyway (a tagged export marks them as artifacts)."],["+","text."],["="," All ids are checked before anything changes. Returns items[] as in list_alt_texts and count."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_anchored_object_options","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_corner_options","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_document_bleed","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_document_setup","fields":{"description":[["=","Change the document setup (Dokument einrichten) of an existing "],["-","document:"],["+","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"],["+","at"],["="," least one parameter. Margins and "],["-","bleed are set with"],["+","bleed:"],["="," 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,"],["+","Layout"],["="," or a liquid layout "],["-","rule"],["+","rule)"],["="," "],["-","such as scale on a page or parent page):"],["+","–"],["="," then InDesign moves or stretches "],["-","them."],["+","them;"],["="," adjust_layout false switches both off for this call "],["-","only (rules and setting are restored"],["+","(restored"],["="," afterwards),"],["-"," so objects keep their size;"],["="," true switches Adjust Layout "],["-","on for this call;"],["+","on,"],["="," 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."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_frame_appearance","fields":{"description":[["=","Set fill, stroke"],["-"," colour"],["="," and stroke weight of an "],["-","object."],["+","object;"],["="," "],["-","fill"],["+","at"],["="," "],["-","and"],["+","least"],["="," "],["-","stroke"],["+","one"],["="," "],["-","take"],["+","parameter"],["="," "],["-","\"#RRGGBB\""],["+","besides"],["="," "],["-","(an"],["+","frame_id. Hex colours create or reuse an"],["="," RGB "],["-","swatch"],["+","swatch;"],["="," "],["-","is"],["+","for"],["="," "],["-","created"],["+","print"],["="," "],["-","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:"],["+","use"],["="," the document's CMYK "],["-","swatches,"],["+","swatches"],["="," "],["-","see"],["+","by"],["="," "],["-","list_swatches,"],["+","name"],["="," "],["-","create_gradient_swatch)"],["+","(list_swatches,"],["="," "],["-","and each excludes the corresponding hex parameter. stroke_weight_pt is in points (0 or more)."],["+","create_gradient_swatch)."],["="," stroke_alignment"],["-"," center | inside | outside sets where the stroke lies on the path (Kontur ausrichten) –"],["="," inside or outside keeps the outer edge of a frame exactly on its bounds."],["-"," 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 – "],["+","stroke_weight_pt 0 is "],["=","the reliable way to remove a "],["-","stroke is stroke_weight_pt 0;"],["+","stroke;"],["="," check the export. Returns applied_fill, applied_stroke, "],["-","applied_stroke_weight_pt"],["+","applied_stroke_weight_pt, applied_stroke_alignment, fill_kind"],["="," and "],["-","applied_stroke_alignment"],["+","stroke_kind (none, color, tint, gradient, mixed_ink), the tints (null when none), the gradient angles and gradient_fill_start_mm / gradient_fill_length_mm as"],["="," read "],["-","back"],["+","back,"],["="," "],["-","from the object, plus"],["+","and"],["="," swatch_ids of new swatches."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_frame_bounds","fields":{"description":[["=","Move or resize an existing text frame, image frame, rectangle or line without rebuilding "],["-","it: bounds_mm {x, y, width, height}."],["+","it."],["="," With page_id "],["-","the values"],["+","bounds_mm"],["="," are relative to that page (x/y may be negative for bleed); without page_id they are spread "],["-","coordinates (Druckbogen)."],["+","coordinates."],["="," Never changes the spread. Groups are refused"],["-"," (their graphics would stay behind)"],["="," – use move_frame_to_page. A rotated object takes the values in its rotated space; set "],["-","set_frame_rotation"],["+","rotation"],["="," 0 first. 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) –"],["+","photo);"],["="," use scale_image_in_frame or fit_frame "],["-","when"],["+","to make"],["="," the picture "],["-","should follow the new frame instead."],["+","follow."],["="," Returns frame_id, bounds_mm as InDesign reports them,"],["+"," coordinate_space (\"page\" with page_id, otherwise \"spread\"),"],["="," landed_on_page_id and landed_on_page_name; a landing on another page is a "],["-","warning."],["+","warning"],["="," "],["-","Returns coordinate_space (\"page\" with page_id, otherwise \"spread\"); a page change without page_id is a warning, because"],["+","–"],["="," page-relative values "],["-","read"],["+","passed"],["="," "],["-","elsewhere"],["+","as spread coordinates"],["="," shift the object by one page "],["-","width"],["+","width."],["="," "],["-","when passed as spread coordinates. When the object carries"],["+","With"],["="," a text "],["-","wrap,"],["+","wrap"],["="," the document is recomposed "],["-","afterwards and recomposed,"],["+","(recomposed,"],["="," overset_stories_before, "],["-","overset_stories_after"],["+","overset_stories_after,"],["="," "],["-","and overset_changed report whether the overset state of the document changed."],["+","overset_changed)."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_frame_columns","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_frame_effects","fields":{"description":[["=","Set InDesign effects (Effekte) of an object "],["-","for"],["+","on"],["="," target object (default), fill, stroke or text (text "],["-","only"],["+","frames"],["="," "],["-","on"],["+","only):"],["="," "],["-","text"],["+","opacity_percent,"],["="," "],["-","frames): opacity_percent (0–100), blend_mode (normal, multiply, screen, overlay, soft_light, hard_light, color_dodge, color_burn, darken, lighten, difference, exclusion, hue, saturation, color, luminosity),"],["+","blend_mode,"],["="," drop_shadow {enabled (required), opacity_percent, angle_deg, distance_mm, size_mm (0–50.08), spread_percent, noise_percent, color {swatch_name | hex}, blend_mode, use_global_light, knocked_out, "],["-","honor_other_effects – omitted values keep InDesign's own defaults}"],["+","honor_other_effects}"],["="," and feather {enabled (required), width_mm (0–352.78), corner_type sharp | rounded | diffused, noise_percent, "],["-","choke_percent}."],["+","choke_percent};"],["="," "],["-","At"],["+","at"],["="," least "],["-","one"],["+","one."],["="," "],["-","of them; unknown"],["+","Unknown"],["="," keys are refused "],["-","(inner/outer glow,"],["+","(glow,"],["="," bevel, satin, directional and gradient feather are not "],["-","in"],["+","supported)."],["="," "],["-","this"],["+","opacity_percent"],["="," "],["-","version)."],["+","100, blend_mode normal and enabled false restore the plain state."],["="," Returns frame_id, type, target, effects "],["-","{opacity_percent,"],["+","read"],["="," "],["-","blend_mode,"],["+","back"],["="," "],["-","drop_shadow"],["+","(drop_shadow"],["="," "],["-","{…,"],["+","with"],["="," x_offset_mm, "],["-","y_offset_mm}, feather {…}} read back"],["+","y_offset_mm)"],["="," and changed[]. "],["-","opacity_percent 100, blend_mode normal, drop_shadow.enabled false and feather.enabled false restore the plain state. Pitfalls: every"],["+","Every"],["="," effect brings "],["-","transparency into the document – a"],["+","transparency:"],["="," PDF/X-1a"],["-"," preset"],["="," flattens it on export, PDF/X-4 keeps "],["-","it (check preflight_document and export_pdf);"],["+","it;"],["="," blend modes look different in RGB and "],["-","CMYK documents;"],["+","CMYK;"],["="," a shadow on a group acts on the group as a whole."],["-"," get_frame_options shows effects (object) and has_effects {fill, stroke, text}."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_frame_inset","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_frame_layer","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_frame_rotation","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_frame_stacking","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_layer_visibility","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_layout_grid","fields":{"description":[["=","Set margins, column count and gutter on document pages and, by default, "],["-","master"],["+","parent"],["="," pages, and redistribute the column guides evenly "],["-","(relative to"],["+","in"],["="," the type "],["-","area)."],["+","area;"],["="," "],["-","Whatever"],["+","whatever"],["="," is omitted "],["-","stays"],["+","stays."],["="," "],["-","as it is. margins_mm takes top, left, bottom, right in mm – for"],["+","On"],["="," facing pages "],["-","\"left\""],["+","margins_mm left"],["="," is the inside "],["-","margin"],["+","(Bundsteg),"],["="," "],["-","(Bundsteg) and \"right\""],["+","right"],["="," the "],["-","outside"],["+","outside."],["="," "],["-","margin."],["+","Without"],["="," "],["-","column_count 1–30, column_gutter_mm. page_ids[] limits the change to those pages (document or master pages); without it"],["+","page_ids"],["="," every page and the document defaults for new pages "],["-","are changed"],["+","change"],["="," – 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"],["+","objects"],["="," "],["-","every"],["+","keep"],["="," "],["-","object on the changed pages keeps its"],["+","their"],["="," size and "],["-","moves"],["+","move"],["="," with the inside "],["-","(Bundsteg) "],["=","and top margin "],["-","(on"],["+","(e.g."],["="," a "],["-","left-hand page of facing pages to the left when the inside margin grows), e.g. to widen the"],["+","wider"],["="," gutter for "],["-","binding without stretching the type;"],["+","binding);"],["="," locked objects, objects on locked layers and "],["+","bleeding "],["=","objects"],["-"," reaching beyond the page edge (bleeding images)"],["="," stay "],["-","and are listed in skipped_objects[]"],["+","(skipped_objects[]"],["="," {item_id, page_id, "],["-","reason},"],["+","reason}),"],["="," moved ones"],["+"," are listed"],["="," in moved_objects[] {item_id, page_id, dx_mm, dy_mm}; "],["-","changing the"],["+","an"],["="," outside margin"],["+"," change"],["="," 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,"],["+","back,"],["="," with a warning per page whose "],["-","column"],["+","columns"],["="," "],["-","positions do"],["+","are"],["="," not"],["-"," lie"],["="," on the even grid. A timed-out call may still have completed "],["-","in InDesign "],["=","– check"],["-"," with"],["="," get_layout_grid before repeating."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_paragraph_options","fields":{"description":[["=","Set paragraph options of a text "],["-","frame:"],["+","frame"],["="," "],["-","alignment"],["+","–"],["="," "],["-","(left,"],["+","every"],["="," "],["-","center,"],["+","paragraph"],["="," "],["-","right,"],["+","of"],["="," "],["-","justify_left,"],["+","the"],["="," "],["-","justify_center,"],["+","frame,"],["="," "],["-","justify_right,"],["+","or"],["="," "],["-","justify_full),"],["+","with start_index/end_index every paragraph the range touches."],["="," hyphenation "],["-","(true/false –"],["+","is"],["="," usually false for "],["-","headlines),"],["+","headlines;"],["="," no_break"],["-"," (true/false,"],["="," keeps the text of "],["-","the"],["+","a"],["="," "],["-","paragraphs"],["+","paragraph"],["="," on one "],["-","line),"],["+","line. Indents, tab_stops"],["="," 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"],["+","are"],["="," "],["-","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"],["+","read"],["="," back "],["-","under"],["+","as"],["="," 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. "],["=","paragraph_rules"],["-"," {above, below: {on, weight_pt, type, color (swatch name or \"Text Color\"), tint, offset_mm, left_indent_mm, right_indent_mm, width column|text|frame}} sets the paragraph rules"],["="," (Absatzlinien) and span_columns "],["-","{type"],["+","(Spaltenspanne)"],["="," "],["-","single_column|span_columns|split_columns,"],["+","are"],["="," "],["-","count (or \"all\"), space_before_mm, space_after_mm, inside_gutter_mm, outside_gutter_mm} the column span (Spaltenspanne); omitted fields stay, and the answer reads both"],["+","read"],["="," back in the same form as list_paragraph_styles. "],["-","Without"],["+","Returns"],["="," "],["-","start_index/end_index"],["+","paragraphs_changed"],["="," "],["-","every"],["+","and,"],["="," "],["-","paragraph"],["+","read"],["="," "],["-","of"],["+","back from"],["="," the "],["-","frame"],["+","first"],["="," "],["-","is changed; with them every paragraph the range touches. Returns paragraphs_changed,"],["+","paragraph,"],["="," alignment, hyphenation, no_break, keep_options, hyphenation_options, justification_options, indents, drop_cap, "],["-","paragraph_rules, span_columns of the first paragraph read back after the change,"],["+","paragraph_rules"],["="," and"],["+"," span_columns, plus"],["="," overset of the story – strict keep options can "],["-","push text into"],["+","cause"],["="," overset or"],["-"," leave"],["="," empty column ends; check get_frame_lines."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""},{"path":"$.\"properties\".\"language\".\"description\"","old":"\"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 (\\\"English: UK\\\", but \\\"de_DE_2006\\\" for German) or an ICU locale (\\\"de_DE\\\", \\\"en_GB\\\" – the safest form; where InDesign holds several dictionaries for one locale, the 2006 spelling reform is chosen and a warning names it); unknown names fail with not_found and the available list.\"","new":"\"Language of the text (Sprache; hyphenation and spelling): the name InDesign shows (e.g. \\\"Deutsch: 2006 Rechtschreibreform\\\"), its untranslated name (\\\"English: UK\\\", \\\"de_DE_2006\\\") or an ICU locale (\\\"de_DE\\\", \\\"en_GB\\\" – the safest form; with several dictionaries for one locale the 2006 spelling reform is chosen, with a warning). Unknown names fail with not_found and the available list.\""}]}},{"tool":"set_section","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_selection","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_story_options","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_table_cells","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_table_style","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_text","fields":{"description":[["=","Replace the whole story of a text frame "],["-","(really replace, never"],["+","(never"],["="," append): "],["-","text with real line breaks as paragraph marks (\"\\n\""],["+","\"\\n\""],["="," or \"\\r\\n\" "],["-","in the parameter "],["=","become paragraph "],["-","returns;"],["+","marks,"],["="," U+2028 stays a forced line "],["-","break)."],["+","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"],["+","A story"],["="," managed by an editorial workflow (InCopy) "],["-","that are"],["+","and"],["="," not checked out here "],["-","(lock_state checked_in_story, locked_story, missing_lock_state or mixed_lock_state) are"],["+","is"],["="," refused before "],["-","anything"],["+","writing:"],["="," "],["-","is written: invalid_state with"],["+","invalid_state,"],["="," details.code \"story_locked\" (details: frame_id, story_id, lock_state, "],["-","managed_file)"],["+","managed_file)."],["="," "],["-","–"],["+","For"],["="," "],["-","check"],["+","new"],["="," "],["-","the"],["+","content"],["="," "],["-","story"],["+","of"],["="," "],["-","out"],["+","more"],["="," "],["-","in"],["+","than"],["="," "],["-","the"],["+","one"],["="," "],["-","editorial"],["+","frame"],["="," "],["-","system"],["+","build"],["="," "],["-","or"],["+","a"],["="," "],["-","in"],["+","snippet"],["="," "],["-","InCopy"],["+","first"],["="," "],["-","first."],["+","(build_snippet)."],["="," Placeholders"],["-"," in the text become InDesign special characters"],["="," (placeholders true, "],["-","default):"],["+","default)"],["="," "],["-","{{line_break}}"],["+","become"],["="," "],["-","(forced"],["+","special"],["="," "],["-","line"],["+","characters,"],["="," "],["-","break"],["+","one"],["="," "],["-","within"],["+","character"],["="," "],["-","the"],["+","each:"],["="," "],["-","paragraph),"],["+","{{line_break}},"],["="," {{nbsp}} "],["-","(no-break space U+00A0),"],["+","(U+00A0),"],["="," {{nbsp_fixed}} "],["-","(fixed-width no-break space U+202F),"],["+","(U+202F),"],["="," {{thin_space}}, {{hair_space}}, "],["-","{{soft_hyphen}}"],["+","{{soft_hyphen}},"],["="," "],["-","(discretionary hyphen), {{nb_hyphen}} (no-break hyphen),"],["+","{{nb_hyphen}},"],["="," {{en_dash}}, {{em_dash}}, {{tab}}, {{column_break}}, {{frame_break}}, {{page_break}}, {{odd_page_break}}, "],["-","{{even_page_break}}"],["+","{{even_page_break}};"],["="," "],["-","(break"],["+","unknown"],["="," "],["-","to the next odd or even page). Unknown {{…}}"],["+","ones"],["="," stay as written with a "],["-","warning; each placeholder is exactly one character in the story."],["+","warning."],["="," Returns placeholders_replaced {name: count} and placeholders_unknown[]."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_text_in_range","fields":{"description":[["=","Replace characters start_index (inclusive) to end_index (exclusive) of the story of a text "],["-","frame with text;"],["+","frame;"],["="," start == end inserts, text \"\" "],["-","deletes"],["+","deletes. The right way for formatted placeholders and for a full swap (0 to story_length; indexes from get_frame_text). keep_format_of \"start\" (default):"],["="," the"],["-"," range. The"],["="," new text keeps the formatting of the first replaced character up to its first paragraph "],["-","mark (keep_format_of \"start\", default) –"],["+","mark,"],["="," also when the range begins a paragraph "],["-","that"],["+","after"],["="," "],["-","follows a paragraph"],["+","one"],["="," with other formatting; "],["-","every"],["+","each"],["="," further new paragraph takes the formatting"],["-"," and paragraph style"],["="," of the replaced paragraph at the same position (beyond the last one: of the "],["-","last"],["+","last)."],["="," "],["-","replaced paragraph). If the"],["+","A"],["="," range"],["+"," that"],["="," begins with a paragraph "],["-","mark,"],["+","mark merges"],["="," 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."],["+","paragraphs."],["="," An insertion "],["-","(start == end) "],["=","takes "],["-","InDesign's"],["+","the"],["="," 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"],["+","A story"],["="," managed by an editorial workflow (InCopy) "],["-","that are"],["+","and"],["="," not checked out here "],["-","(lock_state checked_in_story, locked_story, missing_lock_state or mixed_lock_state) are"],["+","is"],["="," refused before "],["-","anything"],["+","writing:"],["="," "],["-","is written: invalid_state with"],["+","invalid_state,"],["="," 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."],["+","managed_file)."],["="," Placeholders"],["-"," in the text become InDesign special characters"],["="," (placeholders true, "],["-","default):"],["+","default)"],["="," "],["-","{{line_break}}"],["+","become"],["="," "],["-","(forced"],["+","special"],["="," "],["-","line"],["+","characters,"],["="," "],["-","break"],["+","one"],["="," "],["-","within"],["+","character"],["="," "],["-","the"],["+","each:"],["="," "],["-","paragraph),"],["+","{{line_break}},"],["="," {{nbsp}} "],["-","(no-break space U+00A0),"],["+","(U+00A0),"],["="," {{nbsp_fixed}} "],["-","(fixed-width no-break space U+202F),"],["+","(U+202F),"],["="," {{thin_space}}, {{hair_space}}, "],["-","{{soft_hyphen}}"],["+","{{soft_hyphen}},"],["="," "],["-","(discretionary hyphen), {{nb_hyphen}} (no-break hyphen),"],["+","{{nb_hyphen}},"],["="," {{en_dash}}, {{em_dash}}, {{tab}}, {{column_break}}, {{frame_break}}, {{page_break}}, {{odd_page_break}}, "],["-","{{even_page_break}}"],["+","{{even_page_break}};"],["="," "],["-","(break"],["+","unknown"],["="," "],["-","to the next odd or even page). Unknown {{…}}"],["+","ones"],["="," stay as written with a "],["-","warning; each placeholder is exactly one character in the story."],["+","warning."],["="," Returns placeholders_replaced {name: count} and placeholders_unknown[]."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_text_wrap","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"set_view_options","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"show_page","fields":{"description":[["=","Turn the layout window"],["-"," of the document"],["="," to a page and fit it – for demonstrations, screen recordings and "],["-","for "],["=","checking a page by eye. "],["-","Address"],["+","page_name is"],["="," the "],["-","page by page_id (from list_pages, or a master page from list_parent_pages) or by page_name (the "],["=","printed"],["-"," page"],["="," number as list_pages shows "],["-","it;"],["+","it"],["="," "],["-","with sections"],["+","(with"],["="," restarting "],["-","the"],["+","section"],["="," numbering the first "],["-","match is shown"],["+","match,"],["="," with a warning). "],["-","fit: page (default, centres the page),"],["+","fit"],["="," spread "],["-","(the whole Druckbogen –"],["+","makes"],["="," InDesign "],["-","then reports"],["+","report"],["="," the left page "],["-","of the spread "],["=","as "],["-","active_page,"],["+","active_page"],["="," "],["-","so"],["+","–"],["="," compare "],["-","active_spread_id), pasteboard, actual_size (100 %) or none (keep the current zoom);"],["+","active_spread_id;"],["="," zoom"],["-"," (5–4000 percent)"],["="," is applied after "],["-","fit and overrides it. activate true brings the window to the front (default false – other documents stay where they are)."],["+","fit."],["="," Changes only the view, never the document."],["-"," Fails with"],["="," invalid_state when the document has no layout window "],["-","(opened with show_window"],["+","(show_window"],["="," false). Returns page_id, page_name, is_parent_page, fit, zoom_percentage, view {active_page_id, active_page_name, active_spread_id, is_parent_page, zoom_percentage} read "],["-","back,"],["+","back"],["="," and previous_view. Tools that add pages "],["-","(add_page, create_parent_page, place_text_file with autoflow) "],["=","keep the view by default (keep_view)."]],"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"thread_text_frames","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"unanchor_frame","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"unembed_link","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"ungroup_frame","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}},{"tool":"update_links","fields":{"inputSchema":[{"path":"$.\"properties\".\"document_id\".\"description\"","old":"\"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 id.\"","new":"\"Document id (list_documents, open_document); default: the frontmost document. Required for a document opened with show_window false.\""}]}}],"detail":"full","newAddresses":[],"newAddressesTotal":0},"label_id":"urn:uuid:3462e5a5-53ff-4f92-a708-749d886b38d3","run_id":484002,"from_package_version":"2.1.1","to_package_version":"2.1.4","from_server_version":"2.1.1","to_server_version":"2.1.4","from_registry_version":"2.1.1","to_registry_version":"2.1.4","name":"com.mcp-interfaces/layoutbridge-spm","endpoint":"npm:layoutbridge-spm","title":"LayoutBridge for Adobe InDesign®"}