SVG Lab
v0.1.3SVG 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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your 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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
shapes | array | |
upload_id | string | With 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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
closed | boolean | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
corner_angle | number | |
fill_handles | boolean | |
llm_model | string | Your model id, or "unknown". |
mirror | object | points are an open half; its reflection is added. |
name | string | |
opacity | number | |
points | array | |
smooth | boolean | |
style | object | |
style_ref | string | |
subpaths | array | |
tension | number | |
upload_id | string | With 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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
closed | boolean | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
ink | ||
llm_model | string | Your model id, or "unknown". |
name | string | |
opacity | number | |
points | array | |
style | object | |
style_ref | string | |
upload_id | string | With 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. |
wobble | number | |
wobble_units | number |
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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
closed | boolean | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
coordinate_space | string | artboard (with artboard) or document. |
delete_point | object | |
insert_point | object | |
llm_model | string | Your model id, or "unknown". |
move_points | array | |
set_handles | array | |
set_points | array | |
set_tangent | array | |
set_tension | array | |
shape_id | string | |
smooth | boolean | |
subpath_index | integer | |
tension | number | |
upload_id | string | With 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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_id * | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
corner_angle | number | |
corners | array | |
display_width | number | |
ink | ||
llm_model | string | Your model id, or "unknown". |
mode | string | |
protect | array | |
split_extrema | boolean | |
subpath_index | integer | |
tension | number | |
tolerance | number |
boolean_op Combine shapes
Union, subtract, intersect or exclude shapes into one new path.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
op * | string | |
shape_ids * | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
offset_path Offset path
Draw a new path at a set distance outside or inside a path.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
distance * | number | |
shape_id * | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
transform Move, scale or rotate
Move, scale or rotate shapes.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
dx | number | |
dy | number | |
llm_model | string | Your model id, or "unknown". |
rotate | number | |
scale | number |
align Align shapes
Align shapes to a shared edge or centre.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
mode * | string | |
shape_ids * | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
distribute Distribute shapes
Space three or more shapes evenly.
| Parameter | Type | Description |
|---|---|---|
axis * | string | |
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
align_to_artboard Align to artboard
Position shapes relative to their artboard.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
horizontal | string | |
llm_model | string | Your model id, or "unknown". |
vertical | string |
set_style Set style
Change fill, stroke, caps, joins, taper or opacity.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
fill | string | |
llm_model | string | Your model id, or "unknown". |
opacity | number | |
stroke | string | |
stroke_linecap | string | |
stroke_linejoin | string | |
stroke_taper | string | |
stroke_taper_amount | number | |
stroke_width | number |
set_gradient Set gradient fill
Paint fill or stroke with a linear or radial gradient.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
type * | string | |
angle | number | |
artboard | ||
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
coordinates | object | |
def_id | string | |
focal_x | number | |
focal_y | number | |
llm_model | string | Your model id, or "unknown". |
spread | string | |
stops | array | |
target | string | |
units | string |
set_filter Set blur or shadow
Set blur, soft shadows and opacity, or clear them.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
artboard | ||
blur | number | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
opacity | number | |
region | object | |
shadow | object | |
shadows | array |
set_pattern Set pattern fill
Fill shapes with a built-in pattern.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
color | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
pattern | string |
clip_shapes Clip shapes
Clip or mask shapes with another shape.
| Parameter | Type | Description |
|---|---|---|
clip_id * | string | |
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
target_ids * | array | |
as_mask | boolean | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
clip_to_artboard Clip to artboard
Clip shapes that cross their artboard's frame.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
include_clipped | boolean | |
llm_model | string | Your model id, or "unknown". |
shape_ids | array |
text_on_path Put text on a path
Set a text shape along a path.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
path_id * | string | |
text_id * | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
flipped | boolean | |
llm_model | string | Your model id, or "unknown". |
offset | number | |
side | string |
set_text Edit text
Change text content or typography.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
content | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
font_family | string | |
font_size | number | |
font_style | string | |
font_weight | string | |
letter_spacing | number | |
line_height | number | |
llm_model | string | Your model id, or "unknown". |
text_anchor | string |
duplicate Duplicate shapes
Copy shapes in place or at an offset.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
offset | boolean |
group Group shapes
Group shapes.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
name | string | |
shape_ids | array |
ungroup Ungroup shapes
Break groups into their shapes.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
name_group Name group
Name a group.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
group * | string | |
name * | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
reorder Change stacking order
Change stacking order.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
mode * | string | |
shape_ids * | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
reference_id | string |
resize Resize shapes
Set the exact width or height of shapes.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
anchor | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
height | number | |
llm_model | string | Your model id, or "unknown". |
width | number |
fit_to_box Fit shapes into box
Scale and move shapes together into a box; placing an illustration removes its drawing board.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why 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_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
mode | string |
fit_to_children Fit container to content
Resize a container to wrap its children.
| Parameter | Type | Description |
|---|---|---|
child_ids * | array | |
container_id * | string | |
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
padding |
repeat Repeat shapes
Copy shapes into a row, grid or circle.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
count * | integer | |
shape_ids * | array | |
artboard | ||
axis | string | |
center_x | number | |
center_y | number | |
columns | integer | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
gap | ||
llm_model | string | Your model id, or "unknown". |
mode | string | |
radius | number | |
rotate | boolean | |
row_gap |
mirror Mirror shapes
Make a mirrored copy, or join a half outline with its reflection.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
artboard | ||
at | number | |
axis | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
gap | ||
join | string | |
llm_model | string | Your model id, or "unknown". |
merge | boolean | |
snap | number |
flip Flip shapes
Flip shapes horizontally or vertically.
| Parameter | Type | Description |
|---|---|---|
axis * | string | |
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
scatter Scatter shapes
Place many seeded copies of one item inside an area.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
count * | integer | |
item * | object | |
region * | ||
artboard | ||
avoid_ids | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
min_distance | number | |
name | string | |
rotation_jitter | number | |
seed | integer | |
size_jitter | number |
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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
kind * | string | |
shape_id * | string | |
angle | number | |
color | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
coverage | ||
ink | ||
jitter | number | |
llm_model | string | Your model id, or "unknown". |
name | string | |
opacity | number | |
seed | integer | |
spacing | number | |
width | number |
create_icon Create icon
Draw a built-in monoline icon (docs {components} names them).
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
icon * | string | |
x * | number | |
y * | number | |
artboard | ||
color | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
name | string | |
size | ||
stroke_width | number |
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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
height | number | |
llm_model | string | Your model id, or "unknown". |
root | Layout tree (docs tool create_layout). | |
upload_id | string | With 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. |
verbose | boolean | |
width | number | |
x | number | |
y | number |
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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
height | number | |
layout_id | string | |
llm_model | string | Your model id, or "unknown". |
patches | array | Edits addressed by node path. |
root | ||
upload_id | string | With 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. |
verbose | boolean | |
width | number | |
x | number | |
y | number |
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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
imagery | string | |
llm_model | string | Your model id, or "unknown". |
preset | string | |
reset | boolean | |
set | object | |
upload_id | string | With 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_fonts | array |
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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
styles | object | |
upload_id | string | With 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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
measure_text Measure text
Measure how text wraps and renders, without drawing it.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
font_family | string | |
font_size | number | |
font_style | string | |
font_weight | string | |
letter_spacing | number | |
line_height | number | |
llm_model | string | Your model id, or "unknown". |
max_width | number | |
opacity | number | |
text_anchor | string | |
vertical_anchor | string |
list_layouts List layouts
List this project's layouts.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
list_shapes List shapes
List shapes with ids, boxes and stacking order.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
all | boolean | |
artboard | ||
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
group | string | |
limit | integer | |
llm_model | string | Your model id, or "unknown". |
name_contains | string | |
offset | integer |
describe_document Describe document
Describe the artboards and shapes.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
ids | array | |
limit | integer | |
llm_model | string | Your model id, or "unknown". |
name_contains | string | |
offset | integer |
inspect_path Inspect path
Read a path's anchors, handles and construction issues.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_id * | string | |
anchor_indices | array | |
audit | boolean | |
background | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
corners | array | |
crop | object | |
display_width | number | |
llm_model | string | Your model id, or "unknown". |
max_size | integer | |
preview | boolean | |
subpath_index | integer |
inspect_layout Inspect layout
Measure overlap, overflow and alignment; changes nothing.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
containment | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
group | string | |
ignore_pairs | array | |
llm_model | string | Your model id, or "unknown". |
min_font_size | number | |
shape_ids | array | |
target | string |
apply_layout_fixes Apply layout alignment fixes
Move misaligned layout children to their suggested positions.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
containment | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
group | string | |
ignore_pairs | array | |
llm_model | string | Your model id, or "unknown". |
min_font_size | number | |
shape_ids | array | |
target | string |
check_contrast Check colour contrast
Compute WCAG contrast between two colours.
| Parameter | Type | Description |
|---|---|---|
background * | string | |
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
foreground * | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
font_size | number | |
font_weight | ||
llm_model | string | Your model id, or "unknown". |
target | number |
check_contacts Check part contacts
Measure whether parts touch what they belong to.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
attachments | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
display_width | number | |
llm_model | string | Your model id, or "unknown". |
pairs | array | |
tolerance | number |
optical_center Optically centre icon
Move an icon so its visual centre sits on its container's centre.
| Parameter | Type | Description |
|---|---|---|
container_id * | string | |
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
axis | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
measure_optical_center Measure optical centre
Report the optical-centre correction without moving anything.
| Parameter | Type | Description |
|---|---|---|
container_id * | string | |
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
axis | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
snap_to_grid Snap to grid
Snap shapes to a grid.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
artboard | ||
as_unit | boolean | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
grid | integer | |
llm_model | string | Your model id, or "unknown". |
size | boolean |
normalize_spacing Even out spacing
Set one equal gap between shapes.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
axis | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
gap | ||
llm_model | string | Your model id, or "unknown". |
normalize_radii Match corner radii
Give rectangles one corner radius.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
radius * | ||
shape_ids * | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
resolve_overflow Pull shapes inside frame
Move shapes back inside a frame.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
artboard | ||
container_id | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
padding | ||
shrink | boolean |
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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
background | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
height | number | |
llm_model | string | Your model id, or "unknown". |
name | string | |
preset | string | A 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_background | boolean | |
tone | string | base, 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. |
width | number | |
x | number | |
y | number |
set_artboard Edit artboard
Resize, move, rename, recolour or delete an artboard; notes holds a slide's speaker notes.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
background | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
delete | boolean | true deletes the artboard and every shape on it (one undo step); links into it then go nowhere. |
height | number | |
llm_model | string | Your model id, or "unknown". |
move_content | boolean | false moves the frame alone; by default its shapes and layouts move with it. |
name | string | |
notes | string | Speaker 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_background | boolean | |
tone | string | base, inverse (a dark page) or accent (a page in the accent colour); layouts built on it afterwards use that tone. |
width | number | |
x | number | |
y | number |
list_artboards List artboards
List the artboards.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
set_active_artboard Switch active artboard
Make an artboard the active one.
| Parameter | Type | Description |
|---|---|---|
artboard * | ||
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
fit_artboard Fit artboard to artwork
Fit the active artboard to the artwork on it, plus optional padding.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
padding | number |
delete_shapes Delete shapes
Delete shapes.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
make_symbol Make symbol
Turn shapes into a reusable symbol.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
name | string |
place_symbol Place symbol
Place an instance of a symbol.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
name | string | |
symbol_id | string | |
x | number | |
y | number |
list_symbols List symbols
List the symbols.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
detach_symbol Detach symbol instance
Turn one symbol instance into editable shapes.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_id * | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
set_locked Lock or unlock shapes
Lock or unlock shapes.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
locked * | boolean | |
shape_ids * | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
bind_slot Bind artwork to a layout slot
Fit artwork into a layout slot and keep it bound to it.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
shape_ids * | ||
clip | boolean | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
detach | boolean | |
layout_id | string | |
llm_model | string | Your model id, or "unknown". |
mode | string | |
path | string |
look Look at an artboard
Render an artboard with measured facts, or compare a region with a reference.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
artboards | array | |
before_after | boolean | |
brief | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
critique | boolean | |
flow | boolean | |
inspect_shape | string | Path whose anchors come back artboard-local. |
llm_model | string | Your model id, or "unknown". |
reference_id | string | From set_reference_image. |
reference_region | Reference crop when it differs from region. | |
region | object | Artboard-local crop. |
scale | number |
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.
| Parameter | Type | Description |
|---|---|---|
artboard * | The drawing artboard, for example "Drawing · warehouse". | |
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
differences * | array | Every 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 * | string | The reference_id set_reference_image returned for this illustration; the reply shows the drawing beside it. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
name | string | What the drawing shows; its shapes are named after it. |
svg | string | The whole drawing as SVG markup, viewBox "0 0 <board width> <board height>". |
upload_id | string | With 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). |
variant | boolean | true 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).
| Parameter | Type | Description |
|---|---|---|
artboard * | The illustration's drawing artboard ("Drawing · <illustration>"). | |
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
reference_id * | string | The reference_id set_reference_image returned for this illustration. |
candidates | array | Up to 6 {name, svg}: your whole drawing with one change each, scored against what the board holds now. Nothing is drawn. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
ignore | array | Up 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_model | string | Your model id, or "unknown". |
measure | object | Instead 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… |
region | object | {x, y, width, height} in board units: the part the two pictures zoom into. Default: the whole picture. |
regions | array | Up 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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
illustrations | array | The 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_model | string | Your 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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
illustration * | string | The planned illustration, by its name in plan_illustrations. |
candidate | string | The candidate id you picked from find_references for this illustration. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
data_url | string | Instead of candidate: a picture the user supplied, as a PNG, JPEG or WebP data URL. |
llm_model | string | Your model id, or "unknown". |
name | string | What 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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
illustration * | string | The planned illustration this search is for, by its name in plan_illustrations. |
query * | string | Its subject, pose and view, e.g. "warehouse with open loading bay". |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
count | integer | How many candidates, 4 to 10 (default 8). |
llm_model | string | Your model id, or "unknown". |
style | string | clipart (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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboards | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
file | string | |
format | string | |
llm_model | string | Your 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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboards | array | Pages in the order wanted (index, id or name). Default: every page artboard in order. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
file_name | string | The file's name, e.g. "LittleNest seed deck". |
format | string | "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_model | string | Your model id, or "unknown". |
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).
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
illustration * | string | The planned illustration's name (plan_illustrations). |
prompt * | string | The brief: subject, action, setting, style, palette (hex), no background, no text. |
artboard | string | Its board; default "Drawing · <name>". |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
illustration_jobs Vector drawing progress
Progress of drawings by SVG Lab's vector model: status, seconds, group_id once placed.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
make_responsive Show on other phones
Show a phone screen on other phones and foldables, reflowed, on new artboards.
| Parameter | Type | Description |
|---|---|---|
artboard * | ||
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
devices | array | |
llm_model | string | Your model id, or "unknown". |
sizes | array |
read_screen Read screen structure
Read a screen's layout tree, sizing, text, paint, taps, asset ids and tokens, to build it in code.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
max_nodes | integer | |
node | string |
get_assets Get asset files
Get drawings and icons as SVG or PNG files by asset id or artboard; a ZIP link for many.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
assets | array | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
format | string | |
llm_model | string | Your model id, or "unknown". |
scales | array |
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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
components | boolean | true: the components, their props and defaults, the icon names and the layout node types. Read on its own. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
fonts | true, or {role, category, query, family}: the curated type catalog, each family's role, personality, pairings and weights. Read on its own. | |
guide | string | Guide id, e.g. start-here or drawing-from-references. |
guides | array | Up to 8 guide ids, read whole in one call. |
lesson | string | Not used in SVG Lab Draw: returns the illustration routine. |
lessons | array | Not used in SVG Lab Draw: returns the illustration routine. |
llm_model | string | Your model id, or "unknown". |
query | string | |
reference | string | With skill: a linked document. |
skill | string | Designer skill id. |
tool | string | One tool's full reference. |
tools | array |
new_project New project
Start a project: kind "ui" (apps, sites) or "marketing" (decks, pitch decks, posters, ads, posts, flyers, reports).
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
from_project | string | A 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. |
imagery | string | |
kind | string | "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_model | string | Your model id, or "unknown". |
name | string | |
planning | object | Required 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.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
project_id * | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
pause_editor Pause the server editor
Save and close the server editor.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
list_projects List projects
List the user's projects.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
current_project Show current project
Show the current project and its link.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
export_artboard Export artboard
Export an artboard as SVG, with a preview card and a link to a PNG picture.
| Parameter | Type | Description |
|---|---|---|
artboard * | ||
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
background | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
export_id | string | From part 1. |
llm_model | string | Your model id, or "unknown". |
outline_text | boolean | |
part | integer | Numbered SVG part, from 1. |
search_photos Search stock photos
Search Unsplash and Pexels for photographs; nothing is placed.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
query * | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
limit | integer | |
llm_model | string | Your model id, or "unknown". |
orientation | string | |
preview | boolean | |
source | string |
place_image Place image
Place a photograph in a box.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
height * | number | |
width * | number | |
x * | number | |
y * | number | |
artboard | ||
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
corner_radius | number | |
data_url | string | |
fit | string | |
llm_model | string | Your model id, or "unknown". |
name | string | |
photo | object | |
scrim | ||
url | string |
upload_asset Upload image or file
Place the user's own image or SVG file.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
as | string | |
asset_id | string | |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
corner_radius | number | |
data_url | string | |
fit | string | |
height | number | |
llm_model | string | Your model id, or "unknown". |
name | string | |
purpose | string | |
scrim | ||
shape_ids | array | |
tile_size | number | |
url | string | |
width | number | |
x | number | |
y | number |
list_uploads List the person's uploads
The person's uploaded files, in every project, and their design_system section (any name).
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
query | string | |
section | string |
use_upload Place an upload
Place one uploaded picture by upload_id: SVG as shapes, a photo as an image.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
upload_id * | string | |
artboard | ||
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
fit | string | |
height | number | |
llm_model | string | Your model id, or "unknown". |
name | string | |
width | number | |
x | number | |
y | number |
read_design_system Read the design system
Read the design_system section's files: pictures, SVG, tokens and PDFs.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
upload_id | string |
save_design_system Save the design system
Save a design system board to the design_system section: SVG plus tokens JSON.
| Parameter | Type | Description |
|---|---|---|
context * | string | Why you are calling this tool, in general terms. No names or personal details. |
artboard | ||
conversation_id | string | conversation_id from an earlier SVG Lab reply, if any. |
llm_model | string | Your model id, or "unknown". |
name | string |