illustrator-mcp-server
v1.14.0Adobe 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
| Parameter | Type | Description |
|---|---|---|
coordinate_system | string | Coordinate 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
| Parameter | Type | Description |
|---|---|---|
coordinate_system | string | Coordinate 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… |
index | integer | Get a specific artboard by index (0-based integer) |
get_layers Get Layers
Get layer structure as a tree
| Parameter | Type | Description |
|---|---|---|
coordinate_system | string | Coordinate 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_items | boolean | Include items within each layer |
include_sublayers | boolean | Include 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).
| Parameter | Type | Description |
|---|---|---|
coordinate_system | string | Coordinate 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.
| Parameter | Type | Description |
|---|---|---|
artboard_index | integer | Filter by artboard index (0-based integer) |
contents_only | boolean | When true, return only uuid, contents, and artboardIndex (no position/font/style info). Useful for text proofreading. |
coordinate_system | string | Coordinate 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_name | string | Filter by layer name |
limit | integer | Maximum number of items to return (for pagination). Applied after sort. |
offset | integer | Number of items to skip (for pagination). Applied after sort. |
sort | string | Sort 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.
| Parameter | Type | Description |
|---|---|---|
uuid * | string | UUID of the target text frame |
coordinate_system | string | Coordinate 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).
| Parameter | Type | Description |
|---|---|---|
include_diagnostics | boolean | Include print diagnostics: gradient color space validation, ink coverage per color, color model mismatch warnings |
include_swatches | boolean | Include swatch list |
include_used_colors | boolean | Include 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.
| Parameter | Type | Description |
|---|---|---|
coordinate_system | string | Coordinate 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_points | boolean | Include anchor point details |
layer_name | string | Filter by layer name |
selection_only | boolean | Get selected paths only |
get_guidelines Get Guidelines
Get guide information
| Parameter | Type | Description |
|---|---|---|
coordinate_system | string | Coordinate 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).
| Parameter | Type | Description |
|---|---|---|
coordinate_system | string | Coordinate 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… |
depth | number | Maximum traversal depth |
layer_name | string | Filter by layer name (all layers if omitted) |
get_effects Get Effects
Get effect and appearance information
| Parameter | Type | Description |
|---|---|---|
coordinate_system | string | Coordinate 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_only | boolean | Selected objects only |
target | string | Filter 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).
| Parameter | Type | Description |
|---|---|---|
coordinate_system | string | Coordinate 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_info | boolean | Include 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
| Parameter | Type | Description |
|---|---|---|
coordinate_system | string | Coordinate 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
| Parameter | Type | Description |
|---|---|---|
artboard_index | number | Filter by artboard index (0-based integer) |
coordinate_system | string | Coordinate 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… |
depth | number | Maximum 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
| Parameter | Type | Description |
|---|---|---|
artboard_index | integer | Artboard index (0-based integer) |
coordinate_system | string | Coordinate 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_color | object | Search 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_name | string | Font name (partial match) |
font_size | object | Font size range |
layer_name | string | Layer name |
name | string | Object name (partial match) |
stroke_color | object | Search 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. |
type | string | Object 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.
| Parameter | Type | Description |
|---|---|---|
auto_detect | boolean | Auto-detect overlapping foreground/background color pairs in the document. Do not combine with color1/color2. |
color1 | object | First color (manual mode) |
color2 | object | Second 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).
| Parameter | Type | Description |
|---|---|---|
format | string | Output format |
output_path | string | Absolute file path to save the output (e.g. "/path/to/tokens.json"). If omitted, returns text only. |
overwrite | boolean | Replace 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.
| Parameter | Type | Description |
|---|---|---|
format * | string | Export format |
target * | string | UUID, "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_path | string | Absolute 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… |
overwrite | boolean | Replace existing files at output_path (including "artboard:all" per-artboard files). Default false: returns an error listing the existing files |
raster_options | object | Raster export options |
scale | number | Scale factor for PNG/JPG (dpi × scale must be <= 2400) |
svg_options | object | SVG 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.
| Parameter | Type | Description |
|---|---|---|
options | object | PDF export options |
output_path | string | Absolute 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) |
overwrite | boolean | Replace an existing file at output_path. Default false: returns an error with existing_files and exports nothing |
preset | string | PDF 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…
| Parameter | Type | Description |
|---|---|---|
coordinate_system | string | Coordinate 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_dpi | integer | Minimum acceptable DPI for images (default: 300) |
target_pdf_profile | string | Target 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.
| Parameter | Type | Description |
|---|---|---|
artboard_index | integer | Filter by artboard index (0-based) |
coordinate_system | string | Coordinate 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).
| Parameter | Type | Description |
|---|---|---|
clear | boolean | Reset session to default behavior (auto-detect from document). |
coordinate_system | string | Explicit coordinate system override. If provided with workflow, overrides the workflow-derived default. |
workflow | string | The 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).
| Parameter | Type | Description |
|---|---|---|
clear | boolean | Reset to default behavior (connect to any running Illustrator). |
version | string | Illustrator version year (e.g. "2024", "2025"). |
create_rectangle Create Rectangle
Create a rectangle.
| Parameter | Type | Description |
|---|---|---|
height * | number | Height |
width * | number | Width |
x * | number | Top-left X coordinate |
y * | number | Top-left Y coordinate |
coordinate_system | string | Coordinate 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_radius | number | Corner radius |
fill | Fill color | |
layer_name | string | Target layer name |
name | string | Object name |
stroke | object | Stroke settings |
create_ellipse Create Ellipse
Create an ellipse.
| Parameter | Type | Description |
|---|---|---|
height * | number | Height |
width * | number | Width |
x * | number | Bounding box top-left X coordinate |
y * | number | Bounding box top-left Y coordinate |
coordinate_system | string | Coordinate 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 | Fill color | |
layer_name | string | Target layer name |
name | string | Object name |
stroke | object | Stroke settings |
create_line Create Line
Create a line.
| Parameter | Type | Description |
|---|---|---|
x1 * | number | Start point X coordinate |
x2 * | number | End point X coordinate |
y1 * | number | Start point Y coordinate |
y2 * | number | End point Y coordinate |
coordinate_system | string | Coordinate 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_name | string | Target layer name |
name | string | Object name |
stroke | object | Stroke 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…
| Parameter | Type | Description |
|---|---|---|
contents * | string | Text contents. Use \n for line breaks (automatically converted to CR for Illustrator). |
x * | number | X coordinate. Point text: anchor x (left/center/right edge per justification). Area text: left edge. |
y * | number | Y coordinate. Point text: BASELINE of the first line, not the top of the glyphs. Area text: top edge. |
coordinate_system | string | Coordinate 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 | Text color | |
font_name | string | Exact 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_size | number | Font size (pt) |
height | number | Area text height |
justification | string | Paragraph 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… |
kind | string | Text frame type (point or area) |
layer_name | string | Target layer name |
leading | number | Line 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). |
name | string | Object name |
tracking | number | Letter 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. |
width | number | Area text width |
create_path Create Path
Create a custom path.
| Parameter | Type | Description |
|---|---|---|
anchors * | array | Array of anchor points |
closed | boolean | Whether to close the path |
coordinate_system | string | Coordinate 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 | Fill color | |
layer_name | string | Target layer name |
name | string | Object name |
stroke | object | Stroke 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.
| Parameter | Type | Description |
|---|---|---|
properties * | object | Properties to modify |
uuid * | string | UUID of the target object |
coordinate_system | string | Coordinate 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.
| Parameter | Type | Description |
|---|---|---|
target * | string | Target: "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.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Absolute path to the image file |
coordinate_system | string | Coordinate 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… |
embed | boolean | Embed the image instead of linking (default: false) |
layer_name | string | Target layer name |
name | string | Object name |
x | number | X position |
y | number | Y 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…
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Absolute path to the .svg or .svgz file |
coordinate_system | string | Coordinate 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_artboard | boolean | Scale and center the imported content to fit the active artboard (default: false). Works in both coordinate systems. |
group | boolean | Wrap imported items in a single GroupItem (default: true). Set false to keep items flat in the target layer. |
layer_name | string | Target layer name in the active document. Created if missing. |
name | string | Name to assign to the root group (only when group=true and multiple items are imported). |
padding | number | Padding in points from the artboard edges when fit_to_artboard is true. |
x | number | X position of the imported content (top-left of bounding box). Ignored when fit_to_artboard is true. |
y | number | Y 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…
| Parameter | Type | Description |
|---|---|---|
source_artboard_index * | integer | Source artboard index to duplicate from (0-based) |
target_sizes * | array | Target sizes for variations |
coordinate_system | string | Coordinate 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_mode | string | How 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.
| Parameter | Type | Description |
|---|---|---|
uuids * | array | UUIDs of objects to align (minimum 2) |
alignment | string | Alignment direction |
coordinate_system | string | Coordinate 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… |
distribute | string | Distribute objects evenly |
reference | string | Align 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_…
| Parameter | Type | Description |
|---|---|---|
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 | |
scope | string | Layer name to limit replacement scope (default: entire document) |
target | string | Which color attributes to replace |
tolerance | number | Color 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.
| Parameter | Type | Description |
|---|---|---|
action * | string | Layer operation to perform |
above | string | For add: create above this layer name |
layer_name | string | Target layer name (for add: new layer name) |
new_name | string | New name (required for rename action) |
position | integer | Target 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.
| Parameter | Type | Description |
|---|---|---|
artboard_index | integer | Target artboard (default: active artboard) |
chip_size | number | Chip size in points (default: 30) |
coordinate_system | string | Coordinate 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_info | boolean | Include color value labels next to chips |
layer_name | string | Layer name for color chips |
position | string | Place 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).
| Parameter | Type | Description |
|---|---|---|
annotate_artboard | boolean | Also draw measurement bars and numbers ON the artboard for spacings, margins and guide gaps (default: false = legends only, placed outside the artboard) |
artboard_index | integer | Target artboard (default: active artboard) |
coordinate_system | string | Coordinate 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_name | string | Layer name for the style guide |
position | string | Place 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…
| Parameter | Type | Description |
|---|---|---|
artboard_index | integer | Target artboard index (0-based). Defaults to the currently active artboard. Ignored when use_selection is true. |
locale | string | User 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… |
style | string | Crop mark style. "japanese" = double-line marks with 3mm bleed indication (日本式トンボ). "western" = single-line marks (西洋式トンボ). "auto" = detect from locale parameter or Illustrator… |
use_selection | boolean | If 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…
| Parameter | Type | Description |
|---|---|---|
round | boolean | Use round caps and joins so the trap follows corners without spikes |
target | string | Used when uuids is omitted: "selection" (selected objects) or "all" (every top-level object in the document) |
uuids | array | UUIDs of objects to trap. Groups and compound paths are walked down to the paths inside. Omit to use target. |
weight | number | Trap 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.
| Parameter | Type | Description |
|---|---|---|
view * | string | Which view or panel to switch |
create_document Create Document
Create a new Illustrator document.
| Parameter | Type | Description |
|---|---|---|
color_mode | string | Color mode (default: rgb) |
height | number | Document height in points (default: A4 height 841.89pt) |
width | number | Document 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.
| Parameter | Type | Description |
|---|---|---|
save | boolean | true = 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.
| Parameter | Type | Description |
|---|---|---|
mode | string | save = overwrite, save_as = save to new path |
overwrite | boolean | save_as only: allow replacing an existing file at path (default: false = error if the file exists) |
path | string | Absolute 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.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute file path to open (.ai, .eps, .pdf, .svg, etc.) |
color_space | string | Force 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…
| Parameter | Type | Description |
|---|---|---|
uuids * | array | UUIDs of objects to group, all with the same parent. Order matters: first=bottom, last=top in layer panel. |
clipped | boolean | Create 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… |
name | string | Name for the new group |
ungroup_objects Ungroup Objects
Ungroup a group, releasing its children to the parent layer.
| Parameter | Type | Description |
|---|---|---|
uuid * | string | UUID 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).
| Parameter | Type | Description |
|---|---|---|
uuids * | array | UUIDs of objects to duplicate |
coordinate_system | string | Coordinate 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… |
offset | object | Offset for duplicated objects |
target_layer | string | Top-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.
| Parameter | Type | Description |
|---|---|---|
filter | string | Filter by family or name (case-insensitive partial match) |
limit | integer | Max fonts to return (default 100) |
manage_artboards Manage Artboards
Add, remove, resize, rename, fit, or rearrange artboards.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action to perform |
index | integer | Target artboard index (0-based). Required for remove/resize/rename/fit_to_art. Note: the last remaining artboard cannot be removed. |
layout | string | Artboard layout for rearrange |
name | string | New name for rename action |
rect | object | Position and size for add/resize (document coordinates) |
rows_or_cols | integer | Number of rows or columns for rearrange |
spacing | number | Spacing in points for rearrange |
set_z_order Set Z-Order
Change the stacking order of an object.
| Parameter | Type | Description |
|---|---|---|
command * | string | Stacking order command |
uuid * | string | UUID 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).
| Parameter | Type | Description |
|---|---|---|
target_layer * | string | Target top-level layer name. If several layers share the name, the topmost one is used and a warning is returned |
uuids * | array | UUIDs of objects to move |
position | string | beginning = 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.
| Parameter | Type | Description |
|---|---|---|
uuids * | array | UUIDs of objects to delete |
force_unlock | boolean | Unlock 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).
| Parameter | Type | Description |
|---|---|---|
style_name * | string | Name of the graphic style to apply |
uuids * | array | UUIDs of target objects |
merge | boolean | true = 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.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action to perform |
name * | string | Swatch name |
color | Color for add/update (required for add) |
apply_text_style Apply Text Style
Apply a character or paragraph style to a text frame.
| Parameter | Type | Description |
|---|---|---|
style_name * | string | Name of the style |
style_type * | string | Type of style to apply |
uuid * | string | UUID of the text frame |
clear_overrides | boolean | Clear 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Gradient name |
stops * | array | Gradient stops (minimum 2) |
angle | number | Gradient angle (for linear). Note: may not take effect due to a long-standing Illustrator bug (since 2008). |
apply_to_uuids | array | UUIDs 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_system | string | Coordinate 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… |
type | string |
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.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action to perform |
uuid * | string | UUID of the placed (linked) image |
new_path | string | New 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.
| Parameter | Type | Description |
|---|---|---|
action | string | |
count | integer | Number 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…
| Parameter | Type | Description |
|---|---|---|
action * | string | Action to perform |
dataset_name | string | Dataset name (for apply_dataset, create_dataset) |
dataset_name_prefix | string | Prefix for auto-generated dataset names (for import_csv). If omitted, first column value is used. |
file_path | string | File path (XML for import/export, CSV for import_csv) |
object_name | string | Object name to bind variable to (for bind_variable) |
overwrite | boolean | For export: replace the file if it already exists. Without this, an existing file is never overwritten. |
variable_name | string | Variable name (for bind_variable) |
place_symbol Place Symbol
Place a new symbol instance or replace the symbol definition of an existing instance.
| Parameter | Type | Description |
|---|---|---|
action * | string | place = new instance, replace = swap symbol definition |
symbol_name * | string | Symbol name to place or new symbol name for replace |
coordinate_system | string | Coordinate 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… |
uuid | string | UUID of existing symbol item (for replace action) |
x | number | X of the instance top-left (for place action) |
y | number | Y 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.
| Parameter | Type | Description |
|---|---|---|
contents * | string | Text contents |
path_uuid * | string | UUID of the path to place text along |
coordinate_system | string | Coordinate 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_name | string | Exact 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_size | number | Font size (pt) |
justification | string | Alignment of the text along the path: left (from the path start) | center | right (toward the path end). |
layer_name | string | Target layer name |
name | string | Object name |
tracking | number | Letter 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.
| Parameter | Type | Description |
|---|---|---|
uuids * | array | Array 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.
| Parameter | Type | Description |
|---|---|---|
from * | string | Source coordinate system |
point * | object | Point to convert |
to * | string | Destination coordinate system |