illustrator-mcp-server

v1.14.0
io.github.ie3jp/illustrator-mcp-server Checked 4 hours ago Published 19 days ago

Adobe Illustrator MCP with 68 tools — more than the official Illustrator MCP.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_document_info Get Document Info

Get document metadata

ParameterTypeDescription
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…

get_artboards Get Artboards

Get all artboard information

ParameterTypeDescription
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
indexintegerGet a specific artboard by index (0-based integer)

get_layers Get Layers

Get layer structure as a tree

ParameterTypeDescription
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
include_itemsbooleanInclude items within each layer
include_sublayersbooleanInclude sublayers

get_selection Get Selection

Get detailed information about the currently selected objects. While editing text (text cursor or selected characters), the containing text frame is returned with a textSelection field (selected contents, length, start; insertionPoint: true for a bare cursor).

ParameterTypeDescription
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…

list_text_frames List Text Frames

List text frames with summary-level information (including orientation and threaded-frame links nextFrameUUID/previousFrameUUID). Supports reading-order sort, pagination, and a lightweight contents-only mode. layer_name includes text inside groups and sublayers of that layer.

ParameterTypeDescription
artboard_indexintegerFilter by artboard index (0-based integer)
contents_onlybooleanWhen true, return only uuid, contents, and artboardIndex (no position/font/style info). Useful for text proofreading.
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
layer_namestringFilter by layer name
limitintegerMaximum number of items to return (for pagination). Applied after sort.
offsetintegerNumber of items to skip (for pagination). Applied after sort.
sortstringSort order. "reading-order" sorts by artboardIndex asc → y asc → x asc (rows within ~5pt tolerance are treated as the same line). On artboards where most frames are vertical text, columns are read…

get_text_frame_detail Get Text Frame Detail

Get detailed text frame attributes including per-character runs (font, tracking, akiLeft/akiRight, tsume, proportionalMetrics), kerning pairs with manual kerning values (1/1000 em), paragraph attributes (leading, autoLeading, paragraph style), orientation (horizontal/vertical) and threaded-frame links (nextFrameUUID/previousFrameUUID). Returns cssHints for web/CSS reproduction.

ParameterTypeDescription
uuid *stringUUID of the target text frame
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…

get_colors Get Colors

Get all color information used in the document. usedFillColors / usedStrokeColors list each distinct color once with a count of how many paths and text ranges use it (most used first).

ParameterTypeDescription
include_diagnosticsbooleanInclude print diagnostics: gradient color space validation, ink coverage per color, color model mismatch warnings
include_swatchesbooleanInclude swatch list
include_used_colorsbooleanInclude used color collection

get_path_items Get Path Items

Get path and shape data, including paths inside groups and compound paths (clipping: true marks a clipping-mask path). Note: fill/stroke do not include per-attribute opacity; use the item-level opacity field for transparency.

ParameterTypeDescription
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
include_pointsbooleanInclude anchor point details
layer_namestringFilter by layer name
selection_onlybooleanGet selected paths only

get_guidelines Get Guidelines

Get guide information

ParameterTypeDescription
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…

get_groups Get Groups

Get structure of groups, clipping masks, and compound paths. Children of a clipping-mask group mark the mask path with clipping: true. When depth cuts the tree off, the item has childrenTruncated: true and childCount (children is empty only because of the depth limit).

ParameterTypeDescription
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
depthnumberMaximum traversal depth
layer_namestringFilter by layer name (all layers if omitted)

get_effects Get Effects

Get effect and appearance information

ParameterTypeDescription
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
selection_onlybooleanSelected objects only
targetstringFilter by UUID for a specific object

get_images Get Images

Get embedded and linked image information: file path, broken-link status (linkBroken: file missing on disk), pixel size, and effective resolution (ppi at the placed size; rotation-safe).

ParameterTypeDescription
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
include_print_infobooleanInclude print diagnostics: resolutionH/resolutionV (effective ppi per axis; they differ when scaled non-uniformly) and, for embedded raster images, a colorSpaceMismatch flag.

get_symbols Get Symbols

Get symbol definitions and instances

ParameterTypeDescription
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…

get_document_structure Get Document Structure

Get tree structure of layers, groups, and objects

ParameterTypeDescription
artboard_indexnumberFilter by artboard index (0-based integer)
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
depthnumberMaximum traversal depth (unlimited if omitted). Layers/groups cut off by the limit have childrenTruncated: true and childCount.

find_objects Find Objects

Search for objects by specified criteria

ParameterTypeDescription
artboard_indexintegerArtboard index (0-based integer)
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
fill_colorobjectSearch paths and compound paths (matched by their inner paths) by fill color. Tolerance defaults to 5 per channel (0-255 for RGB, 0-100 for CMYK). Set tolerance: 0 for exact match.
font_namestringFont name (partial match)
font_sizeobjectFont size range
layer_namestringLayer name
namestringObject name (partial match)
stroke_colorobjectSearch paths and compound paths (matched by their inner paths) by stroke color. Tolerance defaults to 5 per channel (0-255 for RGB, 0-100 for CMYK). Set tolerance: 0 for exact match.
typestringObject type

check_contrast Check Contrast

Check WCAG color contrast ratios. Manual mode: provide color1 and color2. Auto mode (auto_detect: true): find visible foreground/background pairs by bounding-box overlap (stacking order, opacity and clipping are not considered; gradient/pattern/image backgrounds are reported as unevaluated). Non-RGB colors are converted without ICC profiles, so their ratio is approximate and WCAG pass/fail is null. GrayColor uses ink-quantity interpretation (0=white, 100=black), which differs from the API reference.

ParameterTypeDescription
auto_detectbooleanAuto-detect overlapping foreground/background color pairs in the document. Do not combine with color1/color2.
color1objectFirst color (manual mode)
color2objectSecond color (manual mode)

extract_design_tokens Extract Design Tokens

Extract colors, typography, and spacing from the document as design tokens in CSS custom properties, JSON, or Tailwind format. Optionally writes the result to output_path (never overwrites an existing file unless overwrite: true).

ParameterTypeDescription
formatstringOutput format
output_pathstringAbsolute file path to save the output (e.g. "/path/to/tokens.json"). If omitted, returns text only.
overwritebooleanReplace output_path if it already exists. Default false: an existing file is left untouched and an error is returned.

export Export

Export objects, groups, artboards, or selection. Use target "artboard:all" to batch-export every artboard in one call. For single PNG/JPG exports, the exported image is returned as base64 in the response — you can view it directly without reading the file from disk ("artboard:all" returns file paths only; images larger than ~3.75MB are not inlined). An explicit output_path that already exists is not overwritten unless overwrite is true.

ParameterTypeDescription
format *stringExport format
target *stringUUID, "artboard:<index>", "artboard:all" (batch-export every artboard; filenames get "_<n>-<artboardName>" suffixes), or "selection". UUID and "selection" export only those objects, cropped to their v…
output_pathstringAbsolute output file path (SVG file names must be ASCII). The extension must match format (.svg/.png/.jpg); it is added if omitted. If omitted, auto-generates a non-conflicting name in the same direct…
overwritebooleanReplace existing files at output_path (including "artboard:all" per-artboard files). Default false: returns an error listing the existing files
raster_optionsobjectRaster export options
scalenumberScale factor for PNG/JPG (dpi × scale must be <= 2400)
svg_optionsobjectSVG export options

export_pdf Export PDF

Export print-ready PDF. Japanese trim marks (marks_style "japanese" + trim_marks) are drawn temporarily on the document and removed after export; they are only supported for single-artboard documents (multi-artboard documents return an error). When a preset is given, trim mark settings you do not specify are kept from the preset. An explicit output_path that already exists is not overwritten unless overwrite is true. Note: Illustrator will be activated (brought to foreground) only when generating Japanese trim marks. The exported PDF should be verified by a human before final submission.

ParameterTypeDescription
optionsobjectPDF export options
output_pathstringAbsolute output file path ending in .pdf (.pdf is added if omitted). If omitted, auto-generates a non-conflicting name in the same directory as the document (or ~/Desktop for unsaved documents)
overwritebooleanReplace an existing file at output_path. Default false: returns an error with existing_files and exports nothing
presetstringPDF preset name (e.g. "[PDF/X-4:2008]"). Must exist in Illustrator's PDF presets, otherwise an error listing available presets is returned.

get_overprint_info Get Overprint Info

Get overprint settings of paths (incl. compound paths), text (per character) and raster images, each with a heuristic label (K100 / rich black / spot / likely accidental) inferred from colors only. The result includes the scan scope; placed files, symbols and meshes are not inspected.

get_separation_info Get Separation Info

Get color separation info: process and spot plates actually used by the artwork (paths, gradients, text, rasters) with usage counts, inks with no detected usage, global process colors, and Illustrator's document ink list. The result includes the scan scope; placed files, patterns and symbols are not inspected.

preflight_check Preflight Check

Run pre-press quality checks (RGB in CMYK incl. gradient stops, text colors and embedded images; broken links; low resolution; fonts; white overprint on paths and text; transparency; spot colors). `coverage` reports per check whether it was fully checked, partial (sampled or uninspectable contents such as symbols, linked files, live effects under x1a) or skipped — a check marked partial/skipped is not a clean pass. Results are capped at 20 per category; the rest are summarized in one entry with counts and UUIDs (`categoryCounts` has totals). Not exhaustive — does not replace a human final…

ParameterTypeDescription
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
min_dpiintegerMinimum acceptable DPI for images (default: 300)
target_pdf_profilestringTarget PDF/X profile for compliance checks. x1a: no transparency/RGB, fonts must be embeddable (installed). x4: allows transparency, recommends ICC profile.

check_text_consistency Check Text Consistency

Analyze text frames for dummy/placeholder text and known notation variation patterns (katakana long vowel, fullwidth/halfwidth, wave dash/tilde). Returns all text contents for LLM-driven deeper analysis of inconsistencies, typos, and version mismatches. Note: AI analysis may miss errors and does not replace a human text review.

ParameterTypeDescription
artboard_indexintegerFilter by artboard index (0-based)
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…

set_workflow Set Workflow

Set the session-level workflow and default coordinate system. Call this after confirming the user's intent (web, print, or video). Once set, all tools that omit coordinate_system will use the session default. Use clear: true to reset to auto-detection from document (CMYK/print → document coords, RGB/web → artboard-web).

ParameterTypeDescription
clearbooleanReset session to default behavior (auto-detect from document).
coordinate_systemstringExplicit coordinate system override. If provided with workflow, overrides the workflow-derived default.
workflowstringThe workflow type. Determines the default coordinate system.

set_illustrator_version Set Illustrator Version

Set which Illustrator version to target when multiple versions are installed. Specify a version year (e.g. "2024", "2025"). If Illustrator is already running, connects to the running instance regardless of version. If not running, launches the specified version. Use clear: true to reset to default behavior (connect to any running Illustrator).

ParameterTypeDescription
clearbooleanReset to default behavior (connect to any running Illustrator).
versionstringIllustrator version year (e.g. "2024", "2025").

create_rectangle Create Rectangle

Create a rectangle.

ParameterTypeDescription
height *numberHeight
width *numberWidth
x *numberTop-left X coordinate
y *numberTop-left Y coordinate
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
corner_radiusnumberCorner radius
fillFill color
layer_namestringTarget layer name
namestringObject name
strokeobjectStroke settings

create_ellipse Create Ellipse

Create an ellipse.

ParameterTypeDescription
height *numberHeight
width *numberWidth
x *numberBounding box top-left X coordinate
y *numberBounding box top-left Y coordinate
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
fillFill color
layer_namestringTarget layer name
namestringObject name
strokeobjectStroke settings

create_line Create Line

Create a line.

ParameterTypeDescription
x1 *numberStart point X coordinate
x2 *numberEnd point X coordinate
y1 *numberStart point Y coordinate
y2 *numberEnd point Y coordinate
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
layer_namestringTarget layer name
namestringObject name
strokeobjectStroke settings

create_text_frame Create Text Frame

Create a text frame. Positioning differs by kind: for point text (x, y) is the text ANCHOR — y is the BASELINE of the first line (glyphs extend above it), and x is the left edge, center, or right edge depending on justification (so right-aligned text only needs justification: "right" with x at the right edge). For area text (x, y) is the top-left of the text area. verified.bounds always reports the resulting bounding box (top-left, width, height) — that box is what modify_object position moves. If font_name is not found, nothing is created and an error with font_candidates is returned. Not…

ParameterTypeDescription
contents *stringText contents. Use \n for line breaks (automatically converted to CR for Illustrator).
x *numberX coordinate. Point text: anchor x (left/center/right edge per justification). Area text: left edge.
y *numberY coordinate. Point text: BASELINE of the first line, not the top of the glyphs. Area text: top edge.
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
fillText color
font_namestringExact font name as listed by list_fonts (the "name" field, e.g. "HelveticaNeue-Bold", "ArialMT"). Not a partial match: if not found, nothing is created and an error with font_candidates is returned.
font_sizenumberFont size (pt)
heightnumberArea text height
justificationstringParagraph alignment for all paragraphs: left | center | right, or justified with the last line left/center/right (justify_left, justify_center, justify_right) or all lines forced (justify_all). Justif…
kindstringText frame type (point or area)
layer_namestringTarget layer name
leadingnumberLine spacing (leading) in pt, applied to the whole frame. Omit for auto leading (auto leading can be large in Japanese-default environments, e.g. 175%; set this for tight multi-line Latin text).
namestringObject name
trackingnumberLetter spacing (tracking) in 1/1000 em, applied to the whole frame. 0 = none, positive = looser, negative = tighter. Same units and range as the tracking field in Illustrator's Character panel.
widthnumberArea text width

create_path Create Path

Create a custom path.

ParameterTypeDescription
anchors *arrayArray of anchor points
closedbooleanWhether to close the path
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
fillFill color
layer_namestringTarget layer name
namestringObject name
strokeobjectStroke settings

modify_object Modify Object

Modify properties of an existing object. fill/stroke on a group or compound path are applied to every path and text frame inside it (like Illustrator's UI; clipping paths and guides are skipped) and the result reports how many were changed (painted) and the colors they actually have (verified.descendantFills). success is false if any of them could not be painted. Per-property failures are listed in failed as { property, message }. Note: when properties.contents is given, Illustrator is brought to the foreground, because assigning text contents while it is in the background blocks for minutes.

ParameterTypeDescription
properties *objectProperties to modify
uuid *stringUUID of the target object
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…

convert_to_outlines Convert to Outlines

Convert text to outlines (irreversible except via undo). Text frames that cannot be converted (e.g. locked) are left as-is and listed in "failed" with the message; success is false if any failed. The outlined group does not inherit the text frame's UUID, so converted reports each oldUuid → newUuid pair and the name is carried over — use it to keep working with the artwork after converting.

ParameterTypeDescription
target *stringTarget: "selection" (selected), "all" (all text), or a top-level layer name (includes text inside groups and sublayers; if several layers share the name, the topmost one is used and a warning is retur…

place_image Place Image

Place a raster or PDF image file (PNG, JPG, TIFF, PSD, PDF, etc.) into the document as a linked or embedded image. SVG is NOT supported here because PlacedItems produces a non-editable linked artwork — use import_svg_as_editable instead to bring SVG content in as editable paths/text.

ParameterTypeDescription
file_path *stringAbsolute path to the image file
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
embedbooleanEmbed the image instead of linking (default: false)
layer_namestringTarget layer name
namestringObject name
xnumberX position
ynumberY position

import_svg_as_editable Import SVG as Editable

Import an SVG file into the active document as editable Illustrator paths/text/groups (NOT as a linked image). Internally opens the SVG as a temporary document, duplicates its contents into the target document, then closes the source. Use this instead of place_image for SVG. Colors are NOT converted: importing into a CMYK document keeps the SVG's RGB colors, and the result then includes a warning with the count (fix with replace_color). Font caveat: Illustrator does not fall back per glyph across a font-family list. If the FIRST family in the list is installed but lacks a glyph, that character…

ParameterTypeDescription
file_path *stringAbsolute path to the .svg or .svgz file
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
fit_to_artboardbooleanScale and center the imported content to fit the active artboard (default: false). Works in both coordinate systems.
groupbooleanWrap imported items in a single GroupItem (default: true). Set false to keep items flat in the target layer.
layer_namestringTarget layer name in the active document. Created if missing.
namestringName to assign to the root group (only when group=true and multiple items are imported).
paddingnumberPadding in points from the artboard edges when fit_to_artboard is true.
xnumberX position of the imported content (top-left of bounding box). Ignored when fit_to_artboard is true.
ynumberY position of the imported content (top-left of bounding box). Ignored when fit_to_artboard is true.

resize_for_variation Resize for Variation

Create size variations from a source artboard. Duplicates all objects and scales them, and the gaps between them, by the same factor, so the layout keeps its proportions instead of being stretched along one axis. The scaled artwork is centered on the target artboard, so changing the aspect ratio leaves empty space rather than distorting the composition — move or realign it afterwards if you want it elsewhere. New artboards are placed to the right of all existing artboards; copies get new UUIDs. Limitations: no text reflow, effects/strokes scale with objects but may need manual adjustment, no…

ParameterTypeDescription
source_artboard_index *integerSource artboard index to duplicate from (0-based)
target_sizes *arrayTarget sizes for variations
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
scale_modestringHow to scale objects: proportional (fit within, maintain aspect), fit_width, or fit_height

align_objects Align Objects

Align and/or distribute multiple objects by their UUIDs. If any UUID is not found, nothing is moved and the missing UUIDs are returned in notFound.

ParameterTypeDescription
uuids *arrayUUIDs of objects to align (minimum 2)
alignmentstringAlignment direction
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
distributestringDistribute objects evenly
referencestringAlign relative to selection bounding box or active artboard

replace_color Replace Color

Find and replace fill/stroke colors of paths and text characters across the document or within a specific layer. replacedCount counts replaced path fills/strokes; textFramesChanged counts text frames in which at least one character color was replaced (text strokes with weight 0 are ignored). Every replacement is read back; matches that could not be replaced (e.g. locked) are listed in failed and make success false. A layer scope includes groups and sublayers inside it. from_color must be cmyk or rgb and matches only objects whose current color is stored in that same color type (check with get_…

ParameterTypeDescription
from_color *Color to find (required). cmyk or rgb, in the same color type the objects currently use
to_color *Replacement color (required). Any type; need not match from_color's type
scopestringLayer name to limit replacement scope (default: entire document)
targetstringWhich color attributes to replace
tolerancenumberColor matching tolerance per channel (0 = exact match, 100 = match any)

manage_layers Manage Layers

Add, rename, show/hide, lock/unlock, reorder, or delete top-level layers by name. If several layers share a name, rename/show/hide/lock/unlock/reorder act on the topmost one with a warning, and delete is refused.

ParameterTypeDescription
action *stringLayer operation to perform
abovestringFor add: create above this layer name
layer_namestringTarget layer name (for add: new layer name)
new_namestringNew name (required for rename action)
positionintegerTarget position for reorder (0 = topmost)

place_color_chips Place Color Chips

Extract all unique colors used in the document (path fills/strokes including inside groups and compound paths, text colors, gradient stop colors; spot colors per tint) and place color chip swatches with labels outside the artboard. Pattern fills cannot be shown as chips and are counted in skippedColors. Items already on the chip layer are ignored.

ParameterTypeDescription
artboard_indexintegerTarget artboard (default: active artboard)
chip_sizenumberChip size in points (default: 30)
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
include_infobooleanInclude color value labels next to chips
layer_namestringLayer name for color chips
positionstringPlace chips to the right or below the artboard

place_style_guide Place Style Guide

Place a visual style guide next to the artboard: color chips (path, text and gradient stop colors), font samples, and legends of recurring spacings, artboard margins and guide gaps. Everything goes on a NON-PRINTING layer (created with Print off; if layer_name already exists its print setting is kept and a warning is returned). By default nothing is drawn on the artboard itself; set annotate_artboard=true to also draw semi-transparent measurement bars and numbers ON the artboard (same non-printing layer, but visible on screen and possibly in screen/image exports).

ParameterTypeDescription
annotate_artboardbooleanAlso draw measurement bars and numbers ON the artboard for spacings, margins and guide gaps (default: false = legends only, placed outside the artboard)
artboard_indexintegerTarget artboard (default: active artboard)
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
layer_namestringLayer name for the style guide
positionstringPlace style guide to the right or below the artboard

create_crop_marks Create Crop Marks (トンボ)

Create crop marks (トンボ / trim marks) on the active artboard or selected objects. By default, creates marks for the artboard and expands the artboard to include all marks; the original (trim) rectangle is returned as original_artboard_rect. With use_selection=true, creates marks for the currently selected object(s) without modifying the artboard. Automatically selects Japanese-style (日本式) or Western-style crop marks based on locale. The Illustrator crop mark style preference, selection and active artboard are restored afterwards. Note: Illustrator will be activated (brought to foreg…

ParameterTypeDescription
artboard_indexintegerTarget artboard index (0-based). Defaults to the currently active artboard. Ignored when use_selection is true.
localestringUser locale (e.g. "ja", "ja-JP", "en-US", "de-DE"). Used to auto-detect crop mark style when style is "auto". Japanese locales (ja*) → Japanese marks, others → Western marks. If omitted, falls bac…
stylestringCrop mark style. "japanese" = double-line marks with 3mm bleed indication (日本式トンボ). "western" = single-line marks (西洋式トンボ). "auto" = detect from locale parameter or Illustrator…
use_selectionbooleanIf true, create crop marks for the currently selected object(s) instead of the artboard. The artboard will NOT be modified. If false (default), creates marks for the artboard and expands it to fit.

make_trap_stroke Make Trap Stroke

Add a trap to filled paths: a stroke in the same color as the fill, set to overprint, so a press misregistration does not leave a white gap along the edge. Illustrator has no trapping API; this is the manual prepress technique, applied for you. Only paths with a solid fill are trapped — gradients and patterns are skipped (there is no single color to stroke with), as are locked objects; both are listed in skipped. strokeOverprint is read back after writing, and objects where it did not stick are listed in failed. Ask your printer for the trap width before using this: 0.25–0.5 pt is common f…

ParameterTypeDescription
roundbooleanUse round caps and joins so the trap follows corners without spikes
targetstringUsed when uuids is omitted: "selection" (selected objects) or "all" (every top-level object in the document)
uuidsarrayUUIDs of objects to trap. Groups and compound paths are walked down to the paths inside. Omit to use target.
weightnumberTrap width in points. 0.25–0.5 pt is common for offset printing; confirm with your printer.

toggle_prepress_view Toggle Prepress View

Switch a prepress view or panel on screen so a human can check the file before it goes to print: overprint preview, print tiling, the separations preview panel, the flattener preview panel, or the attributes panel. Illustrator does not report whether a view or panel is currently showing, so these switch rather than set: call the tool again to switch back. Note: Illustrator will be activated (brought to the foreground) during execution, because this runs a menu command and menu commands fail when it is in the background.

ParameterTypeDescription
view *stringWhich view or panel to switch

create_document Create Document

Create a new Illustrator document.

ParameterTypeDescription
color_modestringColor mode (default: rgb)
heightnumberDocument height in points (default: A4 height 841.89pt)
widthnumberDocument width in points (default: A4 width 595.28pt)

close_document Close Document

Close the active Illustrator document. If the document has unsaved changes and save is omitted, the document is NOT closed and an error is returned — pass save: true to save, or save: false to explicitly discard the changes.

ParameterTypeDescription
savebooleantrue = save then close; false = close and DISCARD unsaved changes. Omit to close only when there are no unsaved changes

save_document Save Document

Save the active Illustrator document. save_as refuses to replace an existing file unless overwrite is true.

ParameterTypeDescription
modestringsave = overwrite, save_as = save to new path
overwritebooleansave_as only: allow replacing an existing file at path (default: false = error if the file exists)
pathstringAbsolute file path for save_as mode. If omitted, auto-generates a new non-conflicting name (<name>_2.ai, ...) in the same directory as the document (or ~/Desktop for unsaved documents)

open_document Open Document

Open an Illustrator document from a file path.

ParameterTypeDescription
path *stringAbsolute file path to open (.ai, .eps, .pdf, .svg, etc.)
color_spacestringForce color space conversion on open. Omit to keep original.

group_objects Group Objects

Group multiple objects into a single group. The first UUID in the array becomes the bottommost item, the last becomes the topmost. All objects must be directly in the same parent (layer or group); objects on different layers or in different groups are rejected (use move_to_layer / ungroup_objects first). The new group takes the stacking position of the frontmost object. Nothing is changed and an error is returned if any UUID is not found (notFound), any object is locked or on a hidden layer, or clipped: true is given with fewer than 2 objects or a last object that is not a path or compound pat…

ParameterTypeDescription
uuids *arrayUUIDs of objects to group, all with the same parent. Order matters: first=bottom, last=top in layer panel.
clippedbooleanCreate as clipping group. Needs at least 2 objects; the last UUID becomes the clip path (topmost) and must be a path or compound path. Example: [content-uuid, mask-uuid] — mask-uuid clips content-uu…
namestringName for the new group

ungroup_objects Ungroup Objects

Ungroup a group, releasing its children to the parent layer.

ParameterTypeDescription
uuid *stringUUID of the group to ungroup

duplicate_objects Duplicate Objects

Duplicate one or more objects, optionally offsetting the copies. Copies (and their group/compound-path children) get new UUIDs; notes/memos are kept (objects whose note cannot be rewritten keep the source UUID and are listed in warnings). Missing UUIDs are listed in notFound and per-item failures in failed (success is then false, but copies that were made are still returned).

ParameterTypeDescription
uuids *arrayUUIDs of objects to duplicate
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
offsetobjectOffset for duplicated objects
target_layerstringTop-level layer name to place duplicates in. If several layers share the name, the topmost one is used and a warning is returned

list_fonts List Fonts

List fonts available in Illustrator. Does not require an open document.

ParameterTypeDescription
filterstringFilter by family or name (case-insensitive partial match)
limitintegerMax fonts to return (default 100)

manage_artboards Manage Artboards

Add, remove, resize, rename, fit, or rearrange artboards.

ParameterTypeDescription
action *stringAction to perform
indexintegerTarget artboard index (0-based). Required for remove/resize/rename/fit_to_art. Note: the last remaining artboard cannot be removed.
layoutstringArtboard layout for rearrange
namestringNew name for rename action
rectobjectPosition and size for add/resize (document coordinates)
rows_or_colsintegerNumber of rows or columns for rearrange
spacingnumberSpacing in points for rearrange

set_z_order Set Z-Order

Change the stacking order of an object.

ParameterTypeDescription
command *stringStacking order command
uuid *stringUUID of the object

move_to_layer Move to Layer

Move one or more objects to a different layer. Objects that are found are moved; missing UUIDs are listed in notFound and per-object failures in failed (success is false if either is non-empty).

ParameterTypeDescription
target_layer *stringTarget top-level layer name. If several layers share the name, the topmost one is used and a warning is returned
uuids *arrayUUIDs of objects to move
positionstringbeginning = front of layer, end = back of layer

delete_objects Delete Objects

Delete one or more objects by UUID (get UUIDs from find_objects / get_layers / get_selection). Locked objects are skipped unless force_unlock is true. success is false if any UUID was not found or could not be deleted (see notFound / failed). The undo tool may revert it, but undo steps are Illustrator history steps, not tied to MCP calls. To delete a whole layer use manage_layers instead.

ParameterTypeDescription
uuids *arrayUUIDs of objects to delete
force_unlockbooleanUnlock locked objects before deleting them (default: false = skip locked objects with an error)

apply_graphic_style Apply Graphic Style

Apply a graphic style to objects. Objects that are found are styled; missing UUIDs are listed in notFound and per-object failures in failed (success is false if either is non-empty).

ParameterTypeDescription
style_name *stringName of the graphic style to apply
uuids *arrayUUIDs of target objects
mergebooleantrue = merge with existing appearance, false = replace

list_graphic_styles List Graphic Styles

List all graphic styles in the active document.

manage_swatches Manage Swatches

Add, update, or delete swatches in the active document.

ParameterTypeDescription
action *stringAction to perform
name *stringSwatch name
colorColor for add/update (required for add)

apply_text_style Apply Text Style

Apply a character or paragraph style to a text frame.

ParameterTypeDescription
style_name *stringName of the style
style_type *stringType of style to apply
uuid *stringUUID of the text frame
clear_overridesbooleanClear existing formatting overrides before applying

list_text_styles List Text Styles

List all character and paragraph styles in the active document.

create_gradient Create Gradient

Create a gradient in the document and optionally apply it to objects.

ParameterTypeDescription
name *stringGradient name
stops *arrayGradient stops (minimum 2)
anglenumberGradient angle (for linear). Note: may not take effect due to a long-standing Illustrator bug (since 2008).
apply_to_uuidsarrayUUIDs of objects to apply this gradient as fill. For groups/compound paths it is applied to every path and text inside (clipping paths and guides are skipped) and checked by reading back; verified the…
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
typestring

manage_linked_images Manage Linked Images

Relink or embed a placed (linked) image. embed converts PlacedItem to RasterItem — the original UUID becomes invalid and a new UUID for the RasterItem is returned.

ParameterTypeDescription
action *stringAction to perform
uuid *stringUUID of the placed (linked) image
new_pathstringNew file path (required for relink)

undo Undo / Redo

Undo or redo steps in Illustrator's history. Steps are Illustrator history entries, not MCP tool calls (one tool call may create several steps). Returns count = steps actually performed; if a step fails, the result is an error that still reports how many were performed.

ParameterTypeDescription
actionstring
countintegerNumber of times to undo/redo (max 20)

manage_datasets Manage Variables & Datasets

List variables/datasets, apply or create datasets, bind variables to objects, import/export variable XML, or generate artboards from CSV. import (XML) replaces ALL existing variables and datasets in the document. export refuses to replace an existing file unless overwrite is true. Note: import_csv and apply_dataset bring Illustrator to the foreground, because writing text contents while it is in the background blocks for minutes. import_csv does not create variables or datasets: it copies the objects on artboard 0 (left unchanged as the template) onto one new artboard per CSV row, placed to th…

ParameterTypeDescription
action *stringAction to perform
dataset_namestringDataset name (for apply_dataset, create_dataset)
dataset_name_prefixstringPrefix for auto-generated dataset names (for import_csv). If omitted, first column value is used.
file_pathstringFile path (XML for import/export, CSV for import_csv)
object_namestringObject name to bind variable to (for bind_variable)
overwritebooleanFor export: replace the file if it already exists. Without this, an existing file is never overwritten.
variable_namestringVariable name (for bind_variable)

place_symbol Place Symbol

Place a new symbol instance or replace the symbol definition of an existing instance.

ParameterTypeDescription
action *stringplace = new instance, replace = swap symbol definition
symbol_name *stringSymbol name to place or new symbol name for replace
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
uuidstringUUID of existing symbol item (for replace action)
xnumberX of the instance top-left (for place action)
ynumberY of the instance top-left (for place action)

create_path_text Create Path Text

Create a text frame that flows along a path. If font_name is not found, nothing is created and an error with font_candidates is returned. Note: Illustrator is brought to the foreground for this tool — creating text while it is in the background blocks for minutes.

ParameterTypeDescription
contents *stringText contents
path_uuid *stringUUID of the path to place text along
coordinate_systemstringCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native co…
font_namestringExact font name as listed by list_fonts (the "name" field, e.g. "ArialMT"). Not a partial match: if not found, nothing is created and an error with font_candidates is returned.
font_sizenumberFont size (pt)
justificationstringAlignment of the text along the path: left (from the path start) | center | right (toward the path end).
layer_namestringTarget layer name
namestringObject name
trackingnumberLetter spacing (tracking) in 1/1000 em. 0 = none, positive = looser, negative = tighter. Same units and range as Illustrator's Character panel.

select_objects Select Objects

Select objects by UUID. Pass an empty array to deselect all. Selected objects can then be manipulated interactively in Illustrator.

ParameterTypeDescription
uuids *arrayArray of object UUIDs to select. Pass empty array [] to deselect all.

convert_coordinate Convert Coordinate

Convert a point between artboard and document coordinate systems in the active document.

ParameterTypeDescription
from *stringSource coordinate system
point *objectPoint to convert
to *stringDestination coordinate system