SVG Lab

v0.1.3
app.svglab/svglab Checked 3 days ago Published 1 month ago

SVG Lab MCP: the Design Engine for AI.

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

account_status Check account access

Report the plan, access, SVG Lab credits left and what actions cost.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

create_shapes Create shapes in one batch

Draw up to 80 shapes, text, paths and pencil strokes in one call; illustrations are copied from a reference. With a shell (Claude Code): write the fields to a JSON file, curl it to the upload link new_project gave and pass only upload_id, so the user approves a short call.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
shapesarray
upload_idstringWith a shell: the upload_id of a JSON file of this call's fields, sent with curl to the upload link new_project gave (keeps the user's approval box short). Fields in the call itself win.

create_path Create path

Draw one path from anchors with optional absolute handles. With a shell (Claude Code): write the fields to a JSON file, curl it to the upload link new_project gave and pass only upload_id, so the user approves a short call.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
closedboolean
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
corner_anglenumber
fill_handlesboolean
llm_modelstringYour model id, or "unknown".
mirrorobjectpoints are an open half; its reflection is added.
namestring
opacitynumber
pointsarray
smoothboolean
styleobject
style_refstring
subpathsarray
tensionnumber
upload_idstringWith a shell: the upload_id of a JSON file of this call's fields, sent with curl to the upload link new_project gave (keeps the user's approval box short). Fields in the call itself win.

pencil Draw pencil stroke

Draw a freehand stroke the way the Pencil tool does. With a shell (Claude Code): write the fields to a JSON file, curl it to the upload link new_project gave and pass only upload_id, so the user approves a short call.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
closedboolean
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
ink
llm_modelstringYour model id, or "unknown".
namestring
opacitynumber
pointsarray
styleobject
style_refstring
upload_idstringWith a shell: the upload_id of a JSON file of this call's fields, sent with curl to the upload link new_project gave (keeps the user's approval box short). Fields in the call itself win.
wobblenumber
wobble_unitsnumber

edit_path Edit path

Change a path's anchors and handles in place. With a shell (Claude Code): write the fields to a JSON file, curl it to the upload link new_project gave and pass only upload_id, so the user approves a short call.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
closedboolean
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
coordinate_spacestringartboard (with artboard) or document.
delete_pointobject
insert_pointobject
llm_modelstringYour model id, or "unknown".
move_pointsarray
set_handlesarray
set_pointsarray
set_tangentarray
set_tensionarray
shape_idstring
smoothboolean
subpath_indexinteger
tensionnumber
upload_idstringWith a shell: the upload_id of a JSON file of this call's fields, sent with curl to the upload link new_project gave (keeps the user's approval box short). Fields in the call itself win.

smooth_path Smooth path

Fill missing handles, refit curves, or turn a stroke into ink.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_id *string
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
corner_anglenumber
cornersarray
display_widthnumber
ink
llm_modelstringYour model id, or "unknown".
modestring
protectarray
split_extremaboolean
subpath_indexinteger
tensionnumber
tolerancenumber

boolean_op Combine shapes

Union, subtract, intersect or exclude shapes into one new path.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
op *string
shape_ids *array
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

offset_path Offset path

Draw a new path at a set distance outside or inside a path.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
distance *number
shape_id *string
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

transform Move, scale or rotate

Move, scale or rotate shapes.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
dxnumber
dynumber
llm_modelstringYour model id, or "unknown".
rotatenumber
scalenumber

align Align shapes

Align shapes to a shared edge or centre.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
mode *string
shape_ids *array
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

distribute Distribute shapes

Space three or more shapes evenly.

ParameterTypeDescription
axis *string
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

align_to_artboard Align to artboard

Position shapes relative to their artboard.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
horizontalstring
llm_modelstringYour model id, or "unknown".
verticalstring

set_style Set style

Change fill, stroke, caps, joins, taper or opacity.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
fillstring
llm_modelstringYour model id, or "unknown".
opacitynumber
strokestring
stroke_linecapstring
stroke_linejoinstring
stroke_taperstring
stroke_taper_amountnumber
stroke_widthnumber

set_gradient Set gradient fill

Paint fill or stroke with a linear or radial gradient.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
type *string
anglenumber
artboard
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
coordinatesobject
def_idstring
focal_xnumber
focal_ynumber
llm_modelstringYour model id, or "unknown".
spreadstring
stopsarray
targetstring
unitsstring

set_filter Set blur or shadow

Set blur, soft shadows and opacity, or clear them.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
artboard
blurnumber
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
opacitynumber
regionobject
shadowobject
shadowsarray

set_pattern Set pattern fill

Fill shapes with a built-in pattern.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
colorstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
patternstring

clip_shapes Clip shapes

Clip or mask shapes with another shape.

ParameterTypeDescription
clip_id *string
context *stringWhy you are calling this tool, in general terms. No names or personal details.
target_ids *array
as_maskboolean
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

clip_to_artboard Clip to artboard

Clip shapes that cross their artboard's frame.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
include_clippedboolean
llm_modelstringYour model id, or "unknown".
shape_idsarray

text_on_path Put text on a path

Set a text shape along a path.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
path_id *string
text_id *string
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
flippedboolean
llm_modelstringYour model id, or "unknown".
offsetnumber
sidestring

set_text Edit text

Change text content or typography.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
contentstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
font_familystring
font_sizenumber
font_stylestring
font_weightstring
letter_spacingnumber
line_heightnumber
llm_modelstringYour model id, or "unknown".
text_anchorstring

duplicate Duplicate shapes

Copy shapes in place or at an offset.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
offsetboolean

group Group shapes

Group shapes.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
namestring
shape_idsarray

ungroup Ungroup shapes

Break groups into their shapes.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

name_group Name group

Name a group.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
group *string
name *string
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

reorder Change stacking order

Change stacking order.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
mode *string
shape_ids *array
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
reference_idstring

resize Resize shapes

Set the exact width or height of shapes.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
anchorstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
heightnumber
llm_modelstringYour model id, or "unknown".
widthnumber

fit_to_box Fit shapes into box

Scale and move shapes together into a box; placing an illustration removes its drawing board.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
height *number
shape_ids *array
width *number
x *number
y *number
artboard
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
modestring

fit_to_children Fit container to content

Resize a container to wrap its children.

ParameterTypeDescription
child_ids *array
container_id *string
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
padding

repeat Repeat shapes

Copy shapes into a row, grid or circle.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
count *integer
shape_ids *array
artboard
axisstring
center_xnumber
center_ynumber
columnsinteger
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
gap
llm_modelstringYour model id, or "unknown".
modestring
radiusnumber
rotateboolean
row_gap

mirror Mirror shapes

Make a mirrored copy, or join a half outline with its reflection.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
artboard
atnumber
axisstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
gap
joinstring
llm_modelstringYour model id, or "unknown".
mergeboolean
snapnumber

flip Flip shapes

Flip shapes horizontally or vertically.

ParameterTypeDescription
axis *string
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

scatter Scatter shapes

Place many seeded copies of one item inside an area.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
count *integer
item *object
region *
artboard
avoid_idsarray
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
min_distancenumber
namestring
rotation_jitternumber
seedinteger
size_jitternumber

add_texture Add texture

Add hatch, stipple, facet or strata marks clipped to a shape of a drawing on its "Drawing · <illustration>" board. On a screen the marks are refused as a picture drawn onto it.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
kind *string
shape_id *string
anglenumber
colorstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
coverage
ink
jitternumber
llm_modelstringYour model id, or "unknown".
namestring
opacitynumber
seedinteger
spacingnumber
widthnumber

create_icon Create icon

Draw a built-in monoline icon (docs {components} names them).

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
icon *string
x *number
y *number
artboard
colorstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
namestring
size
stroke_widthnumber

create_layout Create layout

Build a screen or section from a layout tree; returns boxes, ids and measured warnings. With a shell (Claude Code): write the fields to a JSON file, curl it to the upload link new_project gave and pass only upload_id, so the user approves a short call.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
heightnumber
llm_modelstringYour model id, or "unknown".
rootLayout tree (docs tool create_layout).
upload_idstringWith a shell: the upload_id of a JSON file of this call's fields, sent with curl to the upload link new_project gave (keeps the user's approval box short). Fields in the call itself win.
verboseboolean
widthnumber
xnumber
ynumber

update_layout Update layout

Patch or replace a layout made by create_layout. With a shell (Claude Code): write the fields to a JSON file, curl it to the upload link new_project gave and pass only upload_id, so the user approves a short call.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
heightnumber
layout_idstring
llm_modelstringYour model id, or "unknown".
patchesarrayEdits addressed by node path.
root
upload_idstringWith a shell: the upload_id of a JSON file of this call's fields, sent with curl to the upload link new_project gave (keeps the user's approval box short). Fields in the call itself win.
verboseboolean
widthnumber
xnumber
ynumber

design_tokens Set design tokens

Change the project's design tokens. With a shell (Claude Code): write the fields to a JSON file, curl it to the upload link new_project gave and pass only upload_id, so the user approves a short call.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
imagerystring
llm_modelstringYour model id, or "unknown".
presetstring
resetboolean
setobject
upload_idstringWith a shell: the upload_id of a JSON file of this call's fields, sent with curl to the upload link new_project gave (keeps the user's approval box short). Fields in the call itself win.
user_named_fontsarray

define_styles Define style presets

Define named style presets. With a shell (Claude Code): write the fields to a JSON file, curl it to the upload link new_project gave and pass only upload_id, so the user approves a short call.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
stylesobject
upload_idstringWith a shell: the upload_id of a JSON file of this call's fields, sent with curl to the upload link new_project gave (keeps the user's approval box short). Fields in the call itself win.

list_design_styles List style presets

List style presets.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

measure_text Measure text

Measure how text wraps and renders, without drawing it.

ParameterTypeDescription
content *string
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
font_familystring
font_sizenumber
font_stylestring
font_weightstring
letter_spacingnumber
line_heightnumber
llm_modelstringYour model id, or "unknown".
max_widthnumber
opacitynumber
text_anchorstring
vertical_anchorstring

list_layouts List layouts

List this project's layouts.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

list_shapes List shapes

List shapes with ids, boxes and stacking order.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
allboolean
artboard
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
groupstring
limitinteger
llm_modelstringYour model id, or "unknown".
name_containsstring
offsetinteger

describe_document Describe document

Describe the artboards and shapes.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
idsarray
limitinteger
llm_modelstringYour model id, or "unknown".
name_containsstring
offsetinteger

inspect_path Inspect path

Read a path's anchors, handles and construction issues.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_id *string
anchor_indicesarray
auditboolean
backgroundstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
cornersarray
cropobject
display_widthnumber
llm_modelstringYour model id, or "unknown".
max_sizeinteger
previewboolean
subpath_indexinteger

inspect_layout Inspect layout

Measure overlap, overflow and alignment; changes nothing.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
containmentarray
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
groupstring
ignore_pairsarray
llm_modelstringYour model id, or "unknown".
min_font_sizenumber
shape_idsarray
targetstring

apply_layout_fixes Apply layout alignment fixes

Move misaligned layout children to their suggested positions.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
containmentarray
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
groupstring
ignore_pairsarray
llm_modelstringYour model id, or "unknown".
min_font_sizenumber
shape_idsarray
targetstring

check_contrast Check colour contrast

Compute WCAG contrast between two colours.

ParameterTypeDescription
background *string
context *stringWhy you are calling this tool, in general terms. No names or personal details.
foreground *string
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
font_sizenumber
font_weight
llm_modelstringYour model id, or "unknown".
targetnumber

check_contacts Check part contacts

Measure whether parts touch what they belong to.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
attachmentsarray
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
display_widthnumber
llm_modelstringYour model id, or "unknown".
pairsarray
tolerancenumber

optical_center Optically centre icon

Move an icon so its visual centre sits on its container's centre.

ParameterTypeDescription
container_id *string
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
axisstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

measure_optical_center Measure optical centre

Report the optical-centre correction without moving anything.

ParameterTypeDescription
container_id *string
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
axisstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

snap_to_grid Snap to grid

Snap shapes to a grid.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
artboard
as_unitboolean
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
gridinteger
llm_modelstringYour model id, or "unknown".
sizeboolean

normalize_spacing Even out spacing

Set one equal gap between shapes.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
axisstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
gap
llm_modelstringYour model id, or "unknown".

normalize_radii Match corner radii

Give rectangles one corner radius.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
radius *
shape_ids *array
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

resolve_overflow Pull shapes inside frame

Move shapes back inside a frame.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
artboard
container_idstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
padding
shrinkboolean

add_artboard Add artboard

Add a screen, slide, page or post (preset sizes it). What a control opens (dropdown, filter, menu) is add_hidden_ui.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
backgroundstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
heightnumber
llm_modelstringYour model id, or "unknown".
namestring
presetstringA page size by name: slide_16x9 (1920 x 1080), slide_4x3, a4_portrait, a4_landscape, letter, letter_landscape, poster_a3, poster_18x24, ig_feed (1080 x 1350), ig_square, ig_story (1080 x 1920), x_post…
show_backgroundboolean
tonestringbase, inverse (a dark page) or accent (a page in the accent colour), in the project's own palette: a deck's rhythm of light, dark and colour slides.
widthnumber
xnumber
ynumber

set_artboard Edit artboard

Resize, move, rename, recolour or delete an artboard; notes holds a slide's speaker notes.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
backgroundstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
deletebooleantrue deletes the artboard and every shape on it (one undo step); links into it then go nowhere.
heightnumber
llm_modelstringYour model id, or "unknown".
move_contentbooleanfalse moves the frame alone; by default its shapes and layouts move with it.
namestring
notesstringSpeaker notes for this slide or page: what the presenter says. They stay with the slide in the project and go into the PowerPoint export's notes. An empty string clears them.
show_backgroundboolean
tonestringbase, inverse (a dark page) or accent (a page in the accent colour); layouts built on it afterwards use that tone.
widthnumber
xnumber
ynumber

list_artboards List artboards

List the artboards.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

set_active_artboard Switch active artboard

Make an artboard the active one.

ParameterTypeDescription
artboard *
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

fit_artboard Fit artboard to artwork

Fit the active artboard to the artwork on it, plus optional padding.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
paddingnumber

delete_shapes Delete shapes

Delete shapes.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

make_symbol Make symbol

Turn shapes into a reusable symbol.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *array
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
namestring

place_symbol Place symbol

Place an instance of a symbol.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
namestring
symbol_idstring
xnumber
ynumber

list_symbols List symbols

List the symbols.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

detach_symbol Detach symbol instance

Turn one symbol instance into editable shapes.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_id *string
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

set_locked Lock or unlock shapes

Lock or unlock shapes.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
locked *boolean
shape_ids *array
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

bind_slot Bind artwork to a layout slot

Fit artwork into a layout slot and keep it bound to it.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
shape_ids *
clipboolean
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
detachboolean
layout_idstring
llm_modelstringYour model id, or "unknown".
modestring
pathstring

look Look at an artboard

Render an artboard with measured facts, or compare a region with a reference.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
artboardsarray
before_afterboolean
briefstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
critiqueboolean
flowboolean
inspect_shapestringPath whose anchors come back artboard-local.
llm_modelstringYour model id, or "unknown".
reference_idstringFrom set_reference_image.
reference_regionReference crop when it differs from region.
regionobjectArtboard-local crop.
scalenumber

draw_svg Draw SVG drawing

Upload the SVG you wrote by hand of the picked image onto its drawing artboard, with differences: every difference you still see, however small ([] at shape_misses 0). Auto-traced SVG (potrace, vtracer, colour quantising, any script that turns pixels into paths) is refused. With a shell (Claude Code): curl the .svg to the upload link new_project gave and pass upload_id instead of svg, so the user approves a short call.

ParameterTypeDescription
artboard *The drawing artboard, for example "Drawing · warehouse".
context *stringWhy you are calling this tool, in general terms. No names or personal details.
differences *arrayEvery difference you still see between the picked image and your drawing, part by part (outline, pose, angle, colour, background, detail), however small; a watermark, stock logo or caption on the pict…
reference_id *stringThe reference_id set_reference_image returned for this illustration; the reply shows the drawing beside it.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
namestringWhat the drawing shows; its shapes are named after it.
svgstringThe whole drawing as SVG markup, viewBox "0 0 <board width> <board height>".
upload_idstringWith a shell: instead of svg, the upload_id of the .svg file you sent with curl to the upload link new_project gave (keeps the user's approval box short).
variantbooleantrue for the second stage, which every illustration needs before it goes on a screen: the finished exact copy (uploaded with differences []) altered into this design's own, its measured parts turned a…

compare_drawing Compare drawing with picked image

Measure your drawing against the picked image: overlay, difference map, pixels off and the shape misses left; candidates score edits before you send them. measure reads the picked image itself (a gridded crop, colour samples, colour runs).

ParameterTypeDescription
artboard *The illustration's drawing artboard ("Drawing · <illustration>").
context *stringWhy you are calling this tool, in general terms. No names or personal details.
reference_id *stringThe reference_id set_reference_image returned for this illustration.
candidatesarrayUp to 6 {name, svg}: your whole drawing with one change each, scored against what the board holds now. Nothing is drawn.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
ignorearrayUp to 8 {x, y, width, height} in board units: areas of the picked image that are not part of the illustration (a watermark, a stock logo, a caption), left out of every count.
llm_modelstringYour model id, or "unknown".
measureobjectInstead of comparing, read the picked image in board units before or while you draw: {grid, samples: up to 64 [x, y], rows: up to 24 y values, columns: up to 24 x values}, with region for the part to…
regionobject{x, y, width, height} in board units: the part the two pictures zoom into. Default: the whole picture.
regionsarrayUp to 16 named parts {name, x, y, width, height}, in board units, counted on their own.

plan_illustrations Plan illustrations

List the illustrations each screen needs (none, one or several); the reply gives per_screen and the routes for the user to approve.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
illustrationsarrayThe illustrations the design needs: {name, shows, screens: [the artboards it goes on]}, one subject each. A screen may have none, one or several; ui: a drawing is never shared. An empty list means the…
llm_modelstringYour model id, or "unknown".

set_reference_image Load reference image

Load the find_references picture picked for a planned illustration (or the user's own picture as data_url); the reply shows it. Not in the design.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
illustration *stringThe planned illustration, by its name in plan_illustrations.
candidatestringThe candidate id you picked from find_references for this illustration.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
data_urlstringInstead of candidate: a picture the user supplied, as a PNG, JPEG or WebP data URL.
llm_modelstringYour model id, or "unknown".
namestringWhat the picture shows, e.g. "warehouse with an open loading bay".

find_references Find drawing references

SVG Lab's reference pictures for one planned illustration (illustration, query): Creative Commons first, each with its licence, no stock-agency previews; candidates are for you only.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
illustration *stringThe planned illustration this search is for, by its name in plan_illustrations.
query *stringIts subject, pose and view, e.g. "warehouse with open loading bay".
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
countintegerHow many candidates, 4 to 10 (default 8).
llm_modelstringYour model id, or "unknown".
stylestringclipart (default) for flat and cartoon illustration, lineart for line drawings.

export_code Export code

Export screens as code (HTML, React, SwiftUI, Compose, Flutter) or layered SVG, with tokens and assets, as a ZIP link.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboardsarray
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
filestring
formatstring
llm_modelstringYour model id, or "unknown".

export_document Export the deck or document

The finished deck or document by link: PDF, editable PowerPoint (pptx) or post images.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboardsarrayPages in the order wanted (index, id or name). Default: every page artboard in order.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
file_namestringThe file's name, e.g. "LittleNest seed deck".
formatstring"pdf" (default): every font embedded, every page as designed. "pptx": editable PowerPoint (text boxes over the design, speaker notes). "images": every page as a PNG plus its SVG, one zip, for posts (X…
llm_modelstringYour model id, or "unknown".

add_hidden_ui Add hidden UI

Use when a control opens hidden UI: adds a sized, linked dropdown, side, sheet, dialog or state board beside its screen.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
screen *The screen the control is on (index, id or name).
trigger *object{shape_ids} or {label}: the control that opens it.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
heightintegerDropdown, sheet or dialog only.
kindstringdropdown, side, sheet, dialog, or state (a tab, a segment, the result after Send).
llm_modelstringYour model id, or "unknown".
namestring
toInstead of kind: the screen a tab or Continue goes to (links it; no board).

generate_illustration Draw with SVG Lab's vector model

Draw a planned illustration with SVG Lab's vector model: editable SVG from a text brief, the faster route (500 credits).

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
illustration *stringThe planned illustration's name (plan_illustrations).
prompt *stringThe brief: subject, action, setting, style, palette (hex), no background, no text.
artboardstringIts board; default "Drawing · <name>".
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

illustration_jobs Vector drawing progress

Progress of drawings by SVG Lab's vector model: status, seconds, group_id once placed.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

make_responsive Show on other phones

Show a phone screen on other phones and foldables, reflowed, on new artboards.

ParameterTypeDescription
artboard *
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
devicesarray
llm_modelstringYour model id, or "unknown".
sizesarray

read_screen Read screen structure

Read a screen's layout tree, sizing, text, paint, taps, asset ids and tokens, to build it in code.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
max_nodesinteger
nodestring

get_assets Get asset files

Get drawings and icons as SVG or PNG files by asset id or artboard; a ZIP link for many.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
assetsarray
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
formatstring
llm_modelstringYour model id, or "unknown".
scalesarray

docs Read the reference

SVG Lab's reference: start-here, each tool's full details, design guides and the illustration routine. docs {fonts} lists the type catalog; docs {components} lists the components, icons and layout node types.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
componentsbooleantrue: the components, their props and defaults, the icon names and the layout node types. Read on its own.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
fontstrue, or {role, category, query, family}: the curated type catalog, each family's role, personality, pairings and weights. Read on its own.
guidestringGuide id, e.g. start-here or drawing-from-references.
guidesarrayUp to 8 guide ids, read whole in one call.
lessonstringNot used in SVG Lab Draw: returns the illustration routine.
lessonsarrayNot used in SVG Lab Draw: returns the illustration routine.
llm_modelstringYour model id, or "unknown".
querystring
referencestringWith skill: a linked document.
skillstringDesigner skill id.
toolstringOne tool's full reference.
toolsarray

new_project New project

Start a project: kind "ui" (apps, sites) or "marketing" (decks, pitch decks, posters, ads, posts, flyers, reports).

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
from_projectstringA project id from list_projects whose look this one starts from: its colours, fonts and named styles (for a deck or poster about an app). Nothing else is copied.
imagerystring
kindstring"marketing" for any deck, pitch deck, presentation, poster, ad, social post, carousel, flyer, one-pager, brochure, report, certificate or invitation: its pages are designed here and export_document ha…
llm_modelstringYour model id, or "unknown".
namestring
planningobjectRequired before the first project: the user's answers to the planning questions new_project lists (answers, in their words), where they chose to watch (watch: in_app_browser, own_browser or not_now),…

open_project Open project

Open a saved project.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
project_id *string
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

pause_editor Pause the server editor

Save and close the server editor.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

list_projects List projects

List the user's projects.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

current_project Show current project

Show the current project and its link.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".

export_artboard Export artboard

Export an artboard as SVG, with a preview card and a link to a PNG picture.

ParameterTypeDescription
artboard *
context *stringWhy you are calling this tool, in general terms. No names or personal details.
backgroundstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
export_idstringFrom part 1.
llm_modelstringYour model id, or "unknown".
outline_textboolean
partintegerNumbered SVG part, from 1.

search_photos Search stock photos

Search Unsplash and Pexels for photographs; nothing is placed.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
query *string
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
limitinteger
llm_modelstringYour model id, or "unknown".
orientationstring
previewboolean
sourcestring

place_image Place image

Place a photograph in a box.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
height *number
width *number
x *number
y *number
artboard
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
corner_radiusnumber
data_urlstring
fitstring
llm_modelstringYour model id, or "unknown".
namestring
photoobject
scrim
urlstring

upload_asset Upload image or file

Place the user's own image or SVG file.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
asstring
asset_idstring
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
corner_radiusnumber
data_urlstring
fitstring
heightnumber
llm_modelstringYour model id, or "unknown".
namestring
purposestring
scrim
shape_idsarray
tile_sizenumber
urlstring
widthnumber
xnumber
ynumber

list_uploads List the person's uploads

The person's uploaded files, in every project, and their design_system section (any name).

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
querystring
sectionstring

use_upload Place an upload

Place one uploaded picture by upload_id: SVG as shapes, a photo as an image.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
upload_id *string
artboard
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
fitstring
heightnumber
llm_modelstringYour model id, or "unknown".
namestring
widthnumber
xnumber
ynumber

read_design_system Read the design system

Read the design_system section's files: pictures, SVG, tokens and PDFs.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
upload_idstring

save_design_system Save the design system

Save a design system board to the design_system section: SVG plus tokens JSON.

ParameterTypeDescription
context *stringWhy you are calling this tool, in general terms. No names or personal details.
artboard
conversation_idstringconversation_id from an earlier SVG Lab reply, if any.
llm_modelstringYour model id, or "unknown".
namestring