SVG Lab is an MCP server published by app.svglab, hosted at svglab.app. When last checked on 2026-11-24 it was working: it answers and lists its tools. It declares 94 tools, including account_status, create_shapes, create_path, pencil, edit_path.
SVG Lab MCP: the Design Engine for AI. App screens, icons, illustrations and charts as SVG.
1 connections through 5 shared values. Tap any node.
Report the plan, access, SVG Lab credits left and what actions cost.
No parameters.
{
"name": "account_status",
"title": "Check account access",
"description": "Report the plan, access, SVG Lab credits left and what actions cost.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"title": "Check account access",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| Parameter | Type | Description |
|---|---|---|
| shapes | array | |
| artboard | any | |
| 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. |
{
"name": "create_shapes",
"title": "Create shapes in one batch",
"description": "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.",
"inputSchema": {
"type": "object",
"properties": {
"shapes": {
"type": "array",
"items": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"shape",
"text",
"path",
"pencil"
],
"type": "string",
"description": "shape, text, path or pencil, then that kind's fields (docs tool create_shapes)."
}
},
"additionalProperties": {}
}
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"upload_id": {
"type": "string",
"description": "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."
}
}
},
"annotations": {
"title": "Create shapes in one batch",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}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 |
|---|---|---|
| name | string | |
| style | object | |
| closed | boolean | |
| mirror | object | points are an open half; its reflection is added. |
| points | array | |
| smooth | boolean | |
| opacity | number | |
| tension | number | |
| artboard | any | |
| subpaths | array | |
| 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. |
| corner_angle | number | |
| fill_handles | boolean |
{
"name": "create_path",
"title": "Create path",
"description": "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.",
"inputSchema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"style": {
"type": "object",
"properties": {
"fill": {
"type": "string"
},
"stroke": {
"type": "string"
},
"opacity": {
"type": "number"
},
"stroke_taper": {
"enum": [
"off",
"start",
"end",
"both"
],
"type": "string"
},
"stroke_width": {
"type": "number"
},
"stroke_linecap": {
"enum": [
"butt",
"round",
"square"
],
"type": "string"
},
"stroke_linejoin": {
"enum": [
"miter",
"round",
"bevel"
],
"type": "string"
},
"stroke_taper_amount": {
"type": "number"
}
}
},
"closed": {
"type": "boolean"
},
"mirror": {
"type": "object",
"required": [
"axis",
"at"
],
"properties": {
"at": {
"type": "number"
},
"axis": {
"enum": [
"vertical",
"horizontal"
],
"type": "string"
},
"snap": {
"type": "number"
}
},
"description": "points are an open half; its reflection is added."
},
"points": {
"type": "array",
"items": {
"type": "object",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"hin": {
"anyOf": [
{
"type": "object",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
}
},
{
"type": "null"
}
],
"description": "Absolute point, not an offset."
},
"hout": {
"anyOf": [
{
"type": "object",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
}
},
{
"type": "null"
}
],
"description": "Absolute point, not an offset."
},
"corner": {
"type": "boolean"
},
"tangent": {
"anyOf": [
{
"enum": [
"h",
"v"
],
"type": "string"
},
{
"type": "number"
}
]
},
"tension": {
"type": "number"
},
"tangent_in": {
"anyOf": [
{
"enum": [
"h",
"v"
],
"type": "string"
},
{
"type": "number"
}
]
},
"tension_in": {
"type": "number"
},
"tangent_out": {
"anyOf": [
{
"enum": [
"h",
"v"
],
"type": "string"
},
{
"type": "number"
}
]
},
"tension_out": {
"type": "number"
}
}
}
},
"smooth": {
"type": "boolean"
},
"opacity": {
"type": "number"
},
"tension": {
"type": "number"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"subpaths": {
"type": "array",
"items": {
"type": "object",
"description": "{points, closed}, points as in points."
}
},
"style_ref": {
"type": "string"
},
"upload_id": {
"type": "string",
"description": "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."
},
"corner_angle": {
"type": "number"
},
"fill_handles": {
"type": "boolean"
}
}
},
"annotations": {
"title": "Create path",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}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 |
|---|---|---|
| ink | any | |
| name | string | |
| style | object | |
| closed | boolean | |
| points | array | |
| wobble | number | |
| opacity | number | |
| artboard | any | |
| 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_units | number |
{
"name": "pencil",
"title": "Draw pencil stroke",
"description": "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.",
"inputSchema": {
"type": "object",
"properties": {
"ink": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "object",
"description": "Ink options: docs {tool}."
}
]
},
"name": {
"type": "string"
},
"style": {
"type": "object",
"properties": {
"fill": {
"type": "string"
},
"stroke": {
"type": "string"
},
"opacity": {
"type": "number"
},
"stroke_taper": {
"enum": [
"off",
"start",
"end",
"both"
],
"type": "string"
},
"stroke_width": {
"type": "number"
},
"stroke_linecap": {
"enum": [
"butt",
"round",
"square"
],
"type": "string"
},
"stroke_linejoin": {
"enum": [
"miter",
"round",
"bevel"
],
"type": "string"
},
"stroke_taper_amount": {
"type": "number"
}
}
},
"closed": {
"type": "boolean"
},
"points": {
"type": "array",
"items": {
"type": "object",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"hin": {
"anyOf": [
{
"type": "object",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
}
},
{
"type": "null"
}
]
},
"hout": {
"anyOf": [
{
"type": "object",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
}
},
{
"type": "null"
}
]
},
"corner": {
"type": "boolean"
},
"tangent": {
"anyOf": [
{
"enum": [
"h",
"v"
],
"type": "string"
},
{
"type": "number"
}
]
},
"tension": {
"type": "number"
},
"tangent_in": {
"anyOf": [
{
"enum": [
"h",
"v"
],
"type": "string"
},
{
"type": "number"
}
]
},
"tension_in": {
"type": "number"
},
"tangent_out": {
"anyOf": [
{
"enum": [
"h",
"v"
],
"type": "string"
},
{
"type": "number"
}
]
},
"tension_out": {
"type": "number"
}
}
}
},
"wobble": {
"type": "number"
},
"opacity": {
"type": "number"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"style_ref": {
"type": "string"
},
"upload_id": {
"type": "string",
"description": "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_units": {
"type": "number"
}
}
},
"annotations": {
"title": "Draw pencil stroke",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}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 |
|---|---|---|
| closed | boolean | |
| smooth | boolean | |
| tension | number | |
| artboard | any | |
| shape_id | 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. |
| set_points | array | |
| move_points | array | |
| set_handles | array | |
| set_tangent | array | |
| set_tension | array | |
| delete_point | object | |
| insert_point | object | |
| subpath_index | integer | |
| coordinate_space | string | artboard (with artboard) or document. |
{
"name": "edit_path",
"title": "Edit path",
"description": "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.",
"inputSchema": {
"type": "object",
"properties": {
"closed": {
"type": "boolean"
},
"smooth": {
"type": "boolean"
},
"tension": {
"type": "number"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"shape_id": {
"type": "string"
},
"upload_id": {
"type": "string",
"description": "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."
},
"set_points": {
"type": "array",
"items": {
"type": "object",
"description": "An anchor as in create_path points: x, y, hin and hout (absolute), or tangent, tension and corner."
}
},
"move_points": {
"type": "array",
"items": {
"type": "object",
"required": [
"index"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"index": {
"type": "integer"
}
}
}
},
"set_handles": {
"type": "array",
"items": {
"type": "object",
"description": "{index, hin, hout}: hin and hout absolute {x, y}, or null."
}
},
"set_tangent": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"tangent"
],
"properties": {
"index": {
"type": "integer"
},
"tangent": {
"anyOf": [
{
"enum": [
"h",
"v"
],
"type": "string"
},
{
"type": "number"
}
]
},
"tension": {
"type": "number"
}
}
}
},
"set_tension": {
"type": "array",
"items": {
"type": "object",
"required": [
"segment_start",
"tension"
],
"properties": {
"tension": {
"type": "number"
},
"segment_start": {
"type": "integer"
}
}
}
},
"delete_point": {
"type": "object",
"required": [
"index"
],
"properties": {
"index": {
"type": "integer"
}
}
},
"insert_point": {
"type": "object",
"required": [
"index",
"x",
"y"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"index": {
"type": "integer"
}
}
},
"subpath_index": {
"type": "integer"
},
"coordinate_space": {
"enum": [
"document",
"artboard"
],
"type": "string",
"description": "artboard (with artboard) or document."
}
}
},
"annotations": {
"title": "Edit path",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Fill missing handles, refit curves, or turn a stroke into ink.
| Parameter | Type | Description |
|---|---|---|
| ink | any | |
| mode | string | one of ["fill_missing","fit","ink","tidy"] |
| corners | array | |
| protect | array | |
| tension | number | |
| shape_id * | string | |
| tolerance | number | |
| corner_angle | number | |
| display_width | number | |
| split_extrema | boolean | |
| subpath_index | integer |
{
"name": "smooth_path",
"title": "Smooth path",
"description": "Fill missing handles, refit curves, or turn a stroke into ink.",
"inputSchema": {
"type": "object",
"required": [
"shape_id"
],
"properties": {
"ink": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "object",
"description": "Ink options: docs {tool}."
}
]
},
"mode": {
"enum": [
"fill_missing",
"fit",
"ink",
"tidy"
],
"type": "string"
},
"corners": {
"type": "array",
"items": {
"anyOf": [
{
"type": "integer"
},
{
"type": "object",
"required": [
"subpath",
"index"
],
"properties": {
"index": {
"type": "integer"
},
"subpath": {
"type": "integer"
}
}
}
]
}
},
"protect": {
"type": "array",
"items": {
"anyOf": [
{
"type": "integer"
},
{
"type": "object",
"required": [
"subpath",
"index"
],
"properties": {
"index": {
"type": "integer"
},
"subpath": {
"type": "integer"
}
}
}
]
}
},
"tension": {
"type": "number"
},
"shape_id": {
"type": "string"
},
"tolerance": {
"type": "number"
},
"corner_angle": {
"type": "number"
},
"display_width": {
"type": "number"
},
"split_extrema": {
"type": "boolean"
},
"subpath_index": {
"type": "integer"
}
}
},
"annotations": {
"title": "Smooth path",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Union, subtract, intersect or exclude shapes into one new path.
| Parameter | Type | Description |
|---|---|---|
| op * | string | one of ["union","subtract","intersect","exclude"] |
| shape_ids * | array |
{
"name": "boolean_op",
"title": "Combine shapes",
"description": "Union, subtract, intersect or exclude shapes into one new path.",
"inputSchema": {
"type": "object",
"required": [
"op",
"shape_ids"
],
"properties": {
"op": {
"enum": [
"union",
"subtract",
"intersect",
"exclude"
],
"type": "string"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Combine shapes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Draw a new path at a set distance outside or inside a path.
| Parameter | Type | Description |
|---|---|---|
| distance * | number | |
| shape_id * | string |
{
"name": "offset_path",
"title": "Offset path",
"description": "Draw a new path at a set distance outside or inside a path.",
"inputSchema": {
"type": "object",
"required": [
"shape_id",
"distance"
],
"properties": {
"distance": {
"type": "number"
},
"shape_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Offset path",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Move, scale or rotate shapes.
| Parameter | Type | Description |
|---|---|---|
| dx | number | |
| dy | number | |
| scale | number | |
| rotate | number | |
| shape_ids * | array |
{
"name": "transform",
"title": "Move, scale or rotate",
"description": "Move, scale or rotate shapes.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"dx": {
"type": "number"
},
"dy": {
"type": "number"
},
"scale": {
"type": "number"
},
"rotate": {
"type": "number"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Move, scale or rotate",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Align shapes to a shared edge or centre.
| Parameter | Type | Description |
|---|---|---|
| mode * | string | one of ["left","center_x","right","top","center_y","bottom"] |
| shape_ids * | array |
{
"name": "align",
"title": "Align shapes",
"description": "Align shapes to a shared edge or centre.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids",
"mode"
],
"properties": {
"mode": {
"enum": [
"left",
"center_x",
"right",
"top",
"center_y",
"bottom"
],
"type": "string"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Align shapes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Space three or more shapes evenly.
| Parameter | Type | Description |
|---|---|---|
| axis * | string | one of ["horizontal","vertical"] |
| shape_ids * | array |
{
"name": "distribute",
"title": "Distribute shapes",
"description": "Space three or more shapes evenly.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids",
"axis"
],
"properties": {
"axis": {
"enum": [
"horizontal",
"vertical"
],
"type": "string"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Distribute shapes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Position shapes relative to their artboard.
| Parameter | Type | Description |
|---|---|---|
| vertical | string | one of ["top","middle","bottom"] |
| shape_ids * | array | |
| horizontal | string | one of ["left","center","right"] |
{
"name": "align_to_artboard",
"title": "Align to artboard",
"description": "Position shapes relative to their artboard.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"vertical": {
"enum": [
"top",
"middle",
"bottom"
],
"type": "string"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"horizontal": {
"enum": [
"left",
"center",
"right"
],
"type": "string"
}
}
},
"annotations": {
"title": "Align to artboard",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Change fill, stroke, caps, joins, taper or opacity.
| Parameter | Type | Description |
|---|---|---|
| fill | string | |
| stroke | string | |
| opacity | number | |
| shape_ids * | array | |
| stroke_taper | string | one of ["off","start","end","both"] |
| stroke_width | number | |
| stroke_linecap | string | one of ["butt","round","square"] |
| stroke_linejoin | string | one of ["miter","round","bevel"] |
| stroke_taper_amount | number |
{
"name": "set_style",
"title": "Set style",
"description": "Change fill, stroke, caps, joins, taper or opacity.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"fill": {
"type": "string"
},
"stroke": {
"type": "string"
},
"opacity": {
"type": "number"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"stroke_taper": {
"enum": [
"off",
"start",
"end",
"both"
],
"type": "string"
},
"stroke_width": {
"type": "number"
},
"stroke_linecap": {
"enum": [
"butt",
"round",
"square"
],
"type": "string"
},
"stroke_linejoin": {
"enum": [
"miter",
"round",
"bevel"
],
"type": "string"
},
"stroke_taper_amount": {
"type": "number"
}
}
},
"annotations": {
"title": "Set style",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Paint fill or stroke with a linear or radial gradient.
| Parameter | Type | Description |
|---|---|---|
| type * | string | one of ["linear","radial"] |
| angle | number | |
| stops | array | |
| units | string | one of ["objectBoundingBox","userSpaceOnUse"] |
| def_id | string | |
| spread | string | one of ["pad","reflect","repeat"] |
| target | string | one of ["fill","stroke"] |
| focal_x | number | |
| focal_y | number | |
| artboard | any | |
| shape_ids * | array | |
| coordinates | object |
{
"name": "set_gradient",
"title": "Set gradient fill",
"description": "Paint fill or stroke with a linear or radial gradient.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids",
"type"
],
"properties": {
"type": {
"enum": [
"linear",
"radial"
],
"type": "string"
},
"angle": {
"type": "number"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"offset",
"color"
],
"properties": {
"color": {
"type": "string"
},
"offset": {
"type": "number"
},
"opacity": {
"type": "number"
}
}
}
},
"units": {
"enum": [
"objectBoundingBox",
"userSpaceOnUse"
],
"type": "string"
},
"def_id": {
"type": "string"
},
"spread": {
"enum": [
"pad",
"reflect",
"repeat"
],
"type": "string"
},
"target": {
"enum": [
"fill",
"stroke"
],
"type": "string"
},
"focal_x": {
"type": "number"
},
"focal_y": {
"type": "number"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"coordinates": {
"type": "object",
"properties": {
"r": {
"type": "number"
},
"cx": {
"type": "number"
},
"cy": {
"type": "number"
},
"fr": {
"type": "number"
},
"fx": {
"type": "number"
},
"fy": {
"type": "number"
},
"x1": {
"type": "number"
},
"x2": {
"type": "number"
},
"y1": {
"type": "number"
},
"y2": {
"type": "number"
}
}
}
}
},
"annotations": {
"title": "Set gradient fill",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Set blur, soft shadows and opacity, or clear them.
| Parameter | Type | Description |
|---|---|---|
| blur | number | |
| region | object | |
| shadow | object | |
| opacity | number | |
| shadows | array | |
| artboard | any | |
| shape_ids * | array |
{
"name": "set_filter",
"title": "Set blur or shadow",
"description": "Set blur, soft shadows and opacity, or clear them.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"blur": {
"type": "number"
},
"region": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
}
},
"shadow": {
"type": "object",
"required": [
"dx",
"dy",
"blur"
],
"properties": {
"dx": {
"type": "number"
},
"dy": {
"type": "number"
},
"blur": {
"type": "number"
},
"color": {
"type": "string"
}
}
},
"opacity": {
"type": "number"
},
"shadows": {
"type": "array",
"items": {
"type": "object",
"required": [
"color"
],
"properties": {
"dx": {
"type": "number"
},
"dy": {
"type": "number"
},
"blur": {
"type": "number"
},
"color": {
"type": "string"
},
"opacity": {
"type": "number"
}
}
}
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Set blur or shadow",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Fill shapes with a built-in pattern.
| Parameter | Type | Description |
|---|---|---|
| color | string | |
| pattern | string | |
| shape_ids * | array |
{
"name": "set_pattern",
"title": "Set pattern fill",
"description": "Fill shapes with a built-in pattern.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"color": {
"type": "string"
},
"pattern": {
"type": "string"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Set pattern fill",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Clip or mask shapes with another shape.
| Parameter | Type | Description |
|---|---|---|
| as_mask | boolean | |
| clip_id * | string | |
| target_ids * | array |
{
"name": "clip_shapes",
"title": "Clip shapes",
"description": "Clip or mask shapes with another shape.",
"inputSchema": {
"type": "object",
"required": [
"target_ids",
"clip_id"
],
"properties": {
"as_mask": {
"type": "boolean"
},
"clip_id": {
"type": "string"
},
"target_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Clip shapes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Clip shapes that cross their artboard's frame.
| Parameter | Type | Description |
|---|---|---|
| artboard | any | |
| shape_ids | array | |
| include_clipped | boolean |
{
"name": "clip_to_artboard",
"title": "Clip to artboard",
"description": "Clip shapes that cross their artboard's frame.",
"inputSchema": {
"type": "object",
"properties": {
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"include_clipped": {
"type": "boolean"
}
}
},
"annotations": {
"title": "Clip to artboard",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set a text shape along a path.
| Parameter | Type | Description |
|---|---|---|
| side | string | one of ["left","right"] |
| offset | number | |
| flipped | boolean | |
| path_id * | string | |
| text_id * | string |
{
"name": "text_on_path",
"title": "Put text on a path",
"description": "Set a text shape along a path.",
"inputSchema": {
"type": "object",
"required": [
"text_id",
"path_id"
],
"properties": {
"side": {
"enum": [
"left",
"right"
],
"type": "string"
},
"offset": {
"type": "number"
},
"flipped": {
"type": "boolean"
},
"path_id": {
"type": "string"
},
"text_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Put text on a path",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Change text content or typography.
| Parameter | Type | Description |
|---|---|---|
| content | string | |
| font_size | number | |
| shape_ids * | array | |
| font_style | string | one of ["normal","italic"] |
| font_family | string | |
| font_weight | string | |
| line_height | number | |
| text_anchor | string | one of ["start","middle","end"] |
| letter_spacing | number |
{
"name": "set_text",
"title": "Edit text",
"description": "Change text content or typography.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"content": {
"type": "string"
},
"font_size": {
"type": "number"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"font_style": {
"enum": [
"normal",
"italic"
],
"type": "string"
},
"font_family": {
"type": "string"
},
"font_weight": {
"type": "string"
},
"line_height": {
"type": "number"
},
"text_anchor": {
"enum": [
"start",
"middle",
"end"
],
"type": "string"
},
"letter_spacing": {
"type": "number"
}
}
},
"annotations": {
"title": "Edit text",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Copy shapes in place or at an offset.
| Parameter | Type | Description |
|---|---|---|
| offset | boolean | |
| shape_ids * | array |
{
"name": "duplicate",
"title": "Duplicate shapes",
"description": "Copy shapes in place or at an offset.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"offset": {
"type": "boolean"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Duplicate shapes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Group shapes.
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| artboard | any | |
| shape_ids | array |
{
"name": "group",
"title": "Group shapes",
"description": "Group shapes.",
"inputSchema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Group shapes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Break groups into their shapes.
| Parameter | Type | Description |
|---|---|---|
| shape_ids * | array |
{
"name": "ungroup",
"title": "Ungroup shapes",
"description": "Break groups into their shapes.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Ungroup shapes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Name a group.
| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| group * | string |
{
"name": "name_group",
"title": "Name group",
"description": "Name a group.",
"inputSchema": {
"type": "object",
"required": [
"group",
"name"
],
"properties": {
"name": {
"type": "string"
},
"group": {
"type": "string"
}
}
},
"annotations": {
"title": "Name group",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Change stacking order.
| Parameter | Type | Description |
|---|---|---|
| mode * | string | one of ["front","back","forward","backward","behind","in_front_of"] |
| shape_ids * | array | |
| reference_id | string |
{
"name": "reorder",
"title": "Change stacking order",
"description": "Change stacking order.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids",
"mode"
],
"properties": {
"mode": {
"enum": [
"front",
"back",
"forward",
"backward",
"behind",
"in_front_of"
],
"type": "string"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"reference_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Change stacking order",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Set the exact width or height of shapes.
| Parameter | Type | Description |
|---|---|---|
| width | number | |
| anchor | string | one of ["top_left","center","top_right","bottom_left","bottom_right"] |
| height | number | |
| shape_ids * | array |
{
"name": "resize",
"title": "Resize shapes",
"description": "Set the exact width or height of shapes.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"width": {
"type": "number"
},
"anchor": {
"enum": [
"top_left",
"center",
"top_right",
"bottom_left",
"bottom_right"
],
"type": "string"
},
"height": {
"type": "number"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Resize shapes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Scale and move shapes together into a box; placing an illustration removes its drawing board.
| Parameter | Type | Description |
|---|---|---|
| x * | number | |
| y * | number | |
| mode | string | one of ["contain","cover","stretch"] |
| width * | number | |
| height * | number | |
| artboard | any | |
| shape_ids * | array |
{
"name": "fit_to_box",
"title": "Fit shapes into box",
"description": "Scale and move shapes together into a box; placing an illustration removes its drawing board.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids",
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"mode": {
"enum": [
"contain",
"cover",
"stretch"
],
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Fit shapes into box",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Resize a container to wrap its children.
| Parameter | Type | Description |
|---|---|---|
| padding | any | |
| child_ids * | array | |
| container_id * | string |
{
"name": "fit_to_children",
"title": "Fit container to content",
"description": "Resize a container to wrap its children.",
"inputSchema": {
"type": "object",
"required": [
"container_id",
"child_ids"
],
"properties": {
"padding": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "object",
"properties": {
"x": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"y": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"top": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"left": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"right": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"bottom": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
}
}
]
},
"child_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"container_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Fit container to content",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Copy shapes into a row, grid or circle.
| Parameter | Type | Description |
|---|---|---|
| gap | any | |
| axis | string | one of ["horizontal","vertical"] |
| mode | string | one of ["linear","grid","radial"] |
| count * | integer | |
| radius | number | |
| rotate | boolean | |
| columns | integer | |
| row_gap | any | |
| artboard | any | |
| center_x | number | |
| center_y | number | |
| shape_ids * | array |
{
"name": "repeat",
"title": "Repeat shapes",
"description": "Copy shapes into a row, grid or circle.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids",
"count"
],
"properties": {
"gap": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"axis": {
"enum": [
"horizontal",
"vertical"
],
"type": "string"
},
"mode": {
"enum": [
"linear",
"grid",
"radial"
],
"type": "string"
},
"count": {
"type": "integer"
},
"radius": {
"type": "number"
},
"rotate": {
"type": "boolean"
},
"columns": {
"type": "integer"
},
"row_gap": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"center_x": {
"type": "number"
},
"center_y": {
"type": "number"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Repeat shapes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Make a mirrored copy, or join a half outline with its reflection.
| Parameter | Type | Description |
|---|---|---|
| at | number | |
| gap | any | |
| axis | string | one of ["vertical","horizontal"] |
| join | string | one of ["path"] |
| snap | number | |
| merge | boolean | |
| artboard | any | |
| shape_ids * | array |
{
"name": "mirror",
"title": "Mirror shapes",
"description": "Make a mirrored copy, or join a half outline with its reflection.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"at": {
"type": "number"
},
"gap": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"axis": {
"enum": [
"vertical",
"horizontal"
],
"type": "string"
},
"join": {
"enum": [
"path"
],
"type": "string"
},
"snap": {
"type": "number"
},
"merge": {
"type": "boolean"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Mirror shapes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Flip shapes horizontally or vertically.
| Parameter | Type | Description |
|---|---|---|
| axis * | string | one of ["horizontal","vertical"] |
| shape_ids * | array |
{
"name": "flip",
"title": "Flip shapes",
"description": "Flip shapes horizontally or vertically.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids",
"axis"
],
"properties": {
"axis": {
"enum": [
"horizontal",
"vertical"
],
"type": "string"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Flip shapes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Place many seeded copies of one item inside an area.
| Parameter | Type | Description |
|---|---|---|
| item * | object | |
| name | string | |
| seed | integer | |
| count * | integer | |
| region * | any | |
| artboard | any | |
| avoid_ids | array | |
| size_jitter | number | |
| min_distance | number | |
| rotation_jitter | number |
{
"name": "scatter",
"title": "Scatter shapes",
"description": "Place many seeded copies of one item inside an area.",
"inputSchema": {
"type": "object",
"required": [
"region",
"count",
"item"
],
"properties": {
"item": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"shape",
"path",
"pencil"
],
"type": "string"
}
},
"additionalProperties": true
},
"name": {
"type": "string"
},
"seed": {
"type": "integer"
},
"count": {
"type": "integer"
},
"region": {
"anyOf": [
{
"type": "object",
"required": [
"x",
"y",
"w",
"h"
],
"properties": {
"h": {
"type": "number"
},
"w": {
"type": "number"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
}
},
{
"type": "object",
"required": [
"artboard"
],
"properties": {
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
}
}
},
{
"type": "object",
"required": [
"shape_id"
],
"properties": {
"shape_id": {
"type": "string"
}
}
}
]
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"avoid_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"size_jitter": {
"type": "number"
},
"min_distance": {
"type": "number"
},
"rotation_jitter": {
"type": "number"
}
}
},
"annotations": {
"title": "Scatter shapes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}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 |
|---|---|---|
| ink | any | |
| kind * | string | one of ["hatch","crosshatch","stipple","facets","strata"] |
| name | string | |
| seed | integer | |
| angle | number | |
| color | string | |
| width | number | |
| jitter | number | |
| opacity | number | |
| spacing | number | |
| coverage | any | |
| shape_id * | string |
{
"name": "add_texture",
"title": "Add texture",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"shape_id",
"kind"
],
"properties": {
"ink": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "object",
"description": "Ink options: docs {tool}."
}
]
},
"kind": {
"enum": [
"hatch",
"crosshatch",
"stipple",
"facets",
"strata"
],
"type": "string"
},
"name": {
"type": "string"
},
"seed": {
"type": "integer"
},
"angle": {
"type": "number"
},
"color": {
"type": "string"
},
"width": {
"type": "number"
},
"jitter": {
"type": "number"
},
"opacity": {
"type": "number"
},
"spacing": {
"type": "number"
},
"coverage": {
"anyOf": [
{
"type": "string",
"const": "full"
},
{
"type": "object",
"required": [
"x",
"y",
"w",
"h"
],
"properties": {
"h": {
"type": "number"
},
"w": {
"type": "number"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
}
}
]
},
"shape_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Add texture",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Draw a built-in monoline icon (docs {components} names them).
| Parameter | Type | Description |
|---|---|---|
| x * | number | |
| y * | number | |
| icon * | string | |
| name | string | |
| size | any | |
| color | string | |
| artboard | any | |
| stroke_width | number |
{
"name": "create_icon",
"title": "Create icon",
"description": "Draw a built-in monoline icon (docs {components} names them).",
"inputSchema": {
"type": "object",
"required": [
"icon",
"x",
"y"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"icon": {
"type": "string"
},
"name": {
"type": "string"
},
"size": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"color": {
"type": "string"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"stroke_width": {
"type": "number"
}
}
},
"annotations": {
"title": "Create icon",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}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 |
|---|---|---|
| x | number | |
| y | number | |
| root | any | Layout tree (docs tool create_layout). |
| width | number | |
| height | number | |
| verbose | boolean | |
| artboard | any | |
| 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. |
{
"name": "create_layout",
"title": "Create layout",
"description": "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.",
"inputSchema": {
"type": "object",
"$defs": {
"__schema0": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"fit": {
"enum": [
"cover",
"contain"
],
"type": "string"
},
"gap": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"src": {
"type": "string"
},
"fill": {
"type": "string"
},
"font": {
"type": "string"
},
"grid": {
"type": "boolean"
},
"grow": {
"type": "number"
},
"icon": {
"type": "string"
},
"name": {
"type": "string"
},
"role": {
"type": "string"
},
"size": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"type": {
"enum": [
"stack",
"grid",
"layers",
"text",
"rect",
"ellipse",
"image",
"icon",
"spacer",
"component",
"slot",
"arc",
"sparkline",
"area_chart"
],
"type": "string"
},
"unit": {
"type": "string"
},
"align": {
"enum": [
"start",
"center",
"end",
"stretch"
],
"type": "string"
},
"color": {
"type": "string"
},
"group": {
"type": "boolean"
},
"props": {
"type": "object",
"additionalProperties": {}
},
"scrim": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "object",
"properties": {
"color": {
"type": "string"
},
"start": {
"type": "number"
},
"opacity": {
"type": "number"
},
"direction": {
"enum": [
"bottom",
"top",
"left",
"right"
],
"type": "string"
}
}
}
]
},
"shape": {
"enum": [
"rect",
"ellipse"
],
"type": "string"
},
"style": {
"type": "string"
},
"width": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"height": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"labels": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
}
},
{
"type": "integer"
}
]
},
"radius": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"shadow": {
"type": "boolean"
},
"smooth": {
"type": "boolean"
},
"stroke": {
"type": "string"
},
"symbol": {
"type": "string"
},
"values": {
"type": "array",
"items": {
"type": "number"
}
},
"weight": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"callout": {
"type": "string"
},
"columns": {
"type": "integer"
},
"content": {
"type": "string"
},
"justify": {
"enum": [
"start",
"center",
"end",
"space_between"
],
"type": "string"
},
"opacity": {
"type": "number"
},
"padding": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "object",
"properties": {
"x": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"y": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"top": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"left": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"right": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"bottom": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
}
}
]
},
"row_gap": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"children": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
}
},
"margin_x": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"rotation": {
"type": "number"
},
"tracking": {
"type": "number"
},
"y_labels": {
"anyOf": [
{
"type": "string",
"const": "auto"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
}
]
},
"component": {
"type": "string"
},
"direction": {
"enum": [
"vertical",
"horizontal"
],
"type": "string"
},
"end_angle": {
"type": "number"
},
"fill_area": {
"type": "boolean"
},
"highlight": {
"type": "integer"
},
"max_lines": {
"type": "integer"
},
"name_hint": {
"type": "string"
},
"thickness": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"uppercase": {
"type": "boolean"
},
"line_height": {
"type": "number"
},
"start_angle": {
"type": "number"
},
"stroke_only": {
"type": "boolean"
},
"fill_opacity": {
"type": "number"
},
"stroke_sides": {
"enum": [
"all",
"top",
"bottom"
],
"type": "string"
},
"stroke_width": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
}
}
},
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"root": {
"anyOf": [
{
"$ref": "#/$defs/__schema0"
},
{
"type": "string"
}
],
"description": "Layout tree (docs tool create_layout)."
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"verbose": {
"type": "boolean"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"upload_id": {
"type": "string",
"description": "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."
}
}
},
"annotations": {
"title": "Create layout",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}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 |
|---|---|---|
| x | number | |
| y | number | |
| root | any | |
| width | number | |
| height | number | |
| patches | array | Edits addressed by node path. |
| verbose | boolean | |
| layout_id | 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. |
{
"name": "update_layout",
"title": "Update layout",
"description": "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.",
"inputSchema": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"root": {
"anyOf": [
{
"type": "object",
"additionalProperties": {}
},
{
"type": "string"
}
]
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"patches": {
"type": "array",
"items": {
"type": "object",
"required": [
"path"
],
"properties": {
"set": {
"type": "object",
"additionalProperties": {}
},
"path": {
"type": "string"
},
"props": {
"type": "object",
"additionalProperties": {}
},
"remove": {
"type": "array",
"items": {
"type": "string"
}
},
"children": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
}
}
}
},
"description": "Edits addressed by node path."
},
"verbose": {
"type": "boolean"
},
"layout_id": {
"type": "string"
},
"upload_id": {
"type": "string",
"description": "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."
}
}
},
"annotations": {
"title": "Update layout",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}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 |
|---|---|---|
| set | object | |
| reset | boolean | |
| preset | string | one of ["light","dark"] |
| imagery | string | one of ["any","photo","mixed","drawn"] |
| 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 |
{
"name": "design_tokens",
"title": "Set design tokens",
"description": "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.",
"inputSchema": {
"type": "object",
"properties": {
"set": {
"type": "object",
"additionalProperties": {}
},
"reset": {
"type": "boolean"
},
"preset": {
"enum": [
"light",
"dark"
],
"type": "string"
},
"imagery": {
"enum": [
"any",
"photo",
"mixed",
"drawn"
],
"type": "string"
},
"upload_id": {
"type": "string",
"description": "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": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Set design tokens",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}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 |
|---|---|---|
| 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. |
{
"name": "define_styles",
"title": "Define style presets",
"description": "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.",
"inputSchema": {
"type": "object",
"properties": {
"styles": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"fill": {
"type": "string"
},
"stroke": {
"type": "string"
},
"opacity": {
"type": "number"
},
"stroke_taper": {
"enum": [
"off",
"start",
"end",
"both"
],
"type": "string"
},
"stroke_width": {
"type": "number"
},
"stroke_linecap": {
"enum": [
"butt",
"round",
"square"
],
"type": "string"
},
"stroke_linejoin": {
"enum": [
"miter",
"round",
"bevel"
],
"type": "string"
},
"stroke_taper_amount": {
"type": "number"
}
}
}
},
"upload_id": {
"type": "string",
"description": "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."
}
}
},
"annotations": {
"title": "Define style presets",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}List style presets.
No parameters.
{
"name": "list_design_styles",
"title": "List style presets",
"description": "List style presets.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"title": "List style presets",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Measure how text wraps and renders, without drawing it.
| Parameter | Type | Description |
|---|---|---|
| content * | string | |
| opacity | number | |
| font_size | number | |
| max_width | number | |
| font_style | string | one of ["normal","italic"] |
| font_family | string | |
| font_weight | string | |
| line_height | number | |
| text_anchor | string | one of ["start","middle","end"] |
| letter_spacing | number | |
| vertical_anchor | string | one of ["top","middle","bottom"] |
{
"name": "measure_text",
"title": "Measure text",
"description": "Measure how text wraps and renders, without drawing it.",
"inputSchema": {
"type": "object",
"required": [
"content"
],
"properties": {
"content": {
"type": "string"
},
"opacity": {
"type": "number"
},
"font_size": {
"type": "number"
},
"max_width": {
"type": "number"
},
"font_style": {
"enum": [
"normal",
"italic"
],
"type": "string"
},
"font_family": {
"type": "string"
},
"font_weight": {
"type": "string"
},
"line_height": {
"type": "number"
},
"text_anchor": {
"enum": [
"start",
"middle",
"end"
],
"type": "string"
},
"letter_spacing": {
"type": "number"
},
"vertical_anchor": {
"enum": [
"top",
"middle",
"bottom"
],
"type": "string"
}
}
},
"annotations": {
"title": "Measure text",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List this project's layouts.
No parameters.
{
"name": "list_layouts",
"title": "List layouts",
"description": "List this project's layouts.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"title": "List layouts",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List shapes with ids, boxes and stacking order.
| Parameter | Type | Description |
|---|---|---|
| all | boolean | |
| group | string | |
| limit | integer | |
| offset | integer | |
| artboard | any | |
| name_contains | string |
{
"name": "list_shapes",
"title": "List shapes",
"description": "List shapes with ids, boxes and stacking order.",
"inputSchema": {
"type": "object",
"properties": {
"all": {
"type": "boolean"
},
"group": {
"type": "string"
},
"limit": {
"type": "integer"
},
"offset": {
"type": "integer"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"name_contains": {
"type": "string"
}
}
},
"annotations": {
"title": "List shapes",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Describe the artboards and shapes.
| Parameter | Type | Description |
|---|---|---|
| ids | array | |
| limit | integer | |
| offset | integer | |
| artboard | any | |
| name_contains | string |
{
"name": "describe_document",
"title": "Describe document",
"description": "Describe the artboards and shapes.",
"inputSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"limit": {
"type": "integer"
},
"offset": {
"type": "integer"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"name_contains": {
"type": "string"
}
}
},
"annotations": {
"title": "Describe document",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read a path's anchors, handles and construction issues.
| Parameter | Type | Description |
|---|---|---|
| crop | object | |
| audit | boolean | |
| corners | array | |
| preview | boolean | |
| max_size | integer | |
| shape_id * | string | |
| background | string | |
| display_width | number | |
| subpath_index | integer | |
| anchor_indices | array |
{
"name": "inspect_path",
"title": "Inspect path",
"description": "Read a path's anchors, handles and construction issues.",
"inputSchema": {
"type": "object",
"required": [
"shape_id"
],
"properties": {
"crop": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
}
},
"audit": {
"type": "boolean"
},
"corners": {
"type": "array",
"items": {
"anyOf": [
{
"type": "integer"
},
{
"type": "object",
"required": [
"subpath",
"index"
],
"properties": {
"index": {
"type": "integer"
},
"subpath": {
"type": "integer"
}
}
}
]
}
},
"preview": {
"type": "boolean"
},
"max_size": {
"type": "integer"
},
"shape_id": {
"type": "string"
},
"background": {
"type": "string"
},
"display_width": {
"type": "number"
},
"subpath_index": {
"type": "integer"
},
"anchor_indices": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"annotations": {
"title": "Inspect path",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Measure overlap, overflow and alignment; changes nothing.
| Parameter | Type | Description |
|---|---|---|
| group | string | |
| target | string | one of ["artboard","group","shapes"] |
| artboard | any | |
| shape_ids | array | |
| containment | array | |
| ignore_pairs | array | |
| min_font_size | number |
{
"name": "inspect_layout",
"title": "Inspect layout",
"description": "Measure overlap, overflow and alignment; changes nothing.",
"inputSchema": {
"type": "object",
"properties": {
"group": {
"type": "string"
},
"target": {
"enum": [
"artboard",
"group",
"shapes"
],
"type": "string"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"containment": {
"type": "array",
"items": {
"type": "object",
"required": [
"child_id",
"parent_id"
],
"properties": {
"padding": {
"type": "number"
},
"child_id": {
"type": "string"
},
"vertical": {
"enum": [
"top",
"middle",
"bottom"
],
"type": "string"
},
"parent_id": {
"type": "string"
},
"horizontal": {
"enum": [
"left",
"center",
"right"
],
"type": "string"
}
}
}
},
"ignore_pairs": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
},
"min_font_size": {
"type": "number"
}
}
},
"annotations": {
"title": "Inspect layout",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Move misaligned layout children to their suggested positions.
| Parameter | Type | Description |
|---|---|---|
| group | string | |
| target | string | one of ["artboard","group","shapes"] |
| artboard | any | |
| shape_ids | array | |
| containment | array | |
| ignore_pairs | array | |
| min_font_size | number |
{
"name": "apply_layout_fixes",
"title": "Apply layout alignment fixes",
"description": "Move misaligned layout children to their suggested positions.",
"inputSchema": {
"type": "object",
"properties": {
"group": {
"type": "string"
},
"target": {
"enum": [
"artboard",
"group",
"shapes"
],
"type": "string"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"containment": {
"type": "array",
"items": {
"type": "object",
"required": [
"child_id",
"parent_id"
],
"properties": {
"padding": {
"type": "number"
},
"child_id": {
"type": "string"
},
"vertical": {
"enum": [
"top",
"middle",
"bottom"
],
"type": "string"
},
"parent_id": {
"type": "string"
},
"horizontal": {
"enum": [
"left",
"center",
"right"
],
"type": "string"
}
}
}
},
"ignore_pairs": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
},
"min_font_size": {
"type": "number"
}
}
},
"annotations": {
"title": "Apply layout alignment fixes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Compute WCAG contrast between two colours.
| Parameter | Type | Description |
|---|---|---|
| target | number | |
| font_size | number | |
| background * | string | |
| foreground * | string | |
| font_weight | any |
{
"name": "check_contrast",
"title": "Check colour contrast",
"description": "Compute WCAG contrast between two colours.",
"inputSchema": {
"type": "object",
"required": [
"foreground",
"background"
],
"properties": {
"target": {
"type": "number"
},
"font_size": {
"type": "number"
},
"background": {
"type": "string"
},
"foreground": {
"type": "string"
},
"font_weight": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
}
},
"annotations": {
"title": "Check colour contrast",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Measure whether parts touch what they belong to.
| Parameter | Type | Description |
|---|---|---|
| pairs | array | |
| artboard | any | |
| tolerance | number | |
| attachments | array | |
| display_width | number |
{
"name": "check_contacts",
"title": "Check part contacts",
"description": "Measure whether parts touch what they belong to.",
"inputSchema": {
"type": "object",
"properties": {
"pairs": {
"type": "array",
"items": {
"type": "object",
"required": [
"a",
"b"
],
"properties": {
"a": {
"type": "string"
},
"b": {
"type": "string"
},
"expect": {
"enum": [
"overlap",
"touch",
"clear"
],
"type": "string"
}
}
}
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"tolerance": {
"type": "number"
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"required": [
"shape_id",
"into"
],
"properties": {
"end": {
"enum": [
"start",
"end"
],
"type": "string"
},
"into": {
"type": "string"
},
"shape_id": {
"type": "string"
}
}
}
},
"display_width": {
"type": "number"
}
}
},
"annotations": {
"title": "Check part contacts",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Move an icon so its visual centre sits on its container's centre.
| Parameter | Type | Description |
|---|---|---|
| axis | string | one of ["both","horizontal","vertical"] |
| shape_ids * | array | |
| container_id * | string |
{
"name": "optical_center",
"title": "Optically centre icon",
"description": "Move an icon so its visual centre sits on its container's centre.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids",
"container_id"
],
"properties": {
"axis": {
"enum": [
"both",
"horizontal",
"vertical"
],
"type": "string"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"container_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Optically centre icon",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Report the optical-centre correction without moving anything.
| Parameter | Type | Description |
|---|---|---|
| axis | string | one of ["both","horizontal","vertical"] |
| shape_ids * | array | |
| container_id * | string |
{
"name": "measure_optical_center",
"title": "Measure optical centre",
"description": "Report the optical-centre correction without moving anything.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids",
"container_id"
],
"properties": {
"axis": {
"enum": [
"both",
"horizontal",
"vertical"
],
"type": "string"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"container_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Measure optical centre",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Snap shapes to a grid.
| Parameter | Type | Description |
|---|---|---|
| grid | integer | |
| size | boolean | |
| as_unit | boolean | |
| artboard | any | |
| shape_ids * | array |
{
"name": "snap_to_grid",
"title": "Snap to grid",
"description": "Snap shapes to a grid.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"grid": {
"type": "integer"
},
"size": {
"type": "boolean"
},
"as_unit": {
"type": "boolean"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Snap to grid",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set one equal gap between shapes.
| Parameter | Type | Description |
|---|---|---|
| gap | any | |
| axis | string | one of ["vertical","horizontal"] |
| shape_ids * | array |
{
"name": "normalize_spacing",
"title": "Even out spacing",
"description": "Set one equal gap between shapes.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"gap": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"axis": {
"enum": [
"vertical",
"horizontal"
],
"type": "string"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Even out spacing",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Give rectangles one corner radius.
| Parameter | Type | Description |
|---|---|---|
| radius * | any | |
| shape_ids * | array |
{
"name": "normalize_radii",
"title": "Match corner radii",
"description": "Give rectangles one corner radius.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids",
"radius"
],
"properties": {
"radius": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Match corner radii",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Move shapes back inside a frame.
| Parameter | Type | Description |
|---|---|---|
| shrink | boolean | |
| padding | any | |
| artboard | any | |
| shape_ids * | array | |
| container_id | string |
{
"name": "resolve_overflow",
"title": "Pull shapes inside frame",
"description": "Move shapes back inside a frame.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"shrink": {
"type": "boolean"
},
"padding": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"container_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Pull shapes inside frame",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Add a screen, slide, page or post (preset sizes it). What a control opens (dropdown, filter, menu) is add_hidden_ui.
| Parameter | Type | Description |
|---|---|---|
| x | number | |
| y | number | |
| name | string | |
| 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 | |
| height | number | |
| 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, linkedin, youtube_thumb. In place of width and height. |
| background | string | |
| show_background | boolean |
{
"name": "add_artboard",
"title": "Add artboard",
"description": "Add a screen, slide, page or post (preset sizes it). What a control opens (dropdown, filter, menu) is add_hidden_ui.",
"inputSchema": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"name": {
"type": "string"
},
"tone": {
"enum": [
"base",
"inverse",
"accent"
],
"type": "string",
"description": "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": {
"type": "number"
},
"height": {
"type": "number"
},
"preset": {
"enum": [
"slide_16x9",
"slide_4x3",
"a4_portrait",
"a4_landscape",
"letter",
"letter_landscape",
"poster_a3",
"poster_18x24",
"ig_feed",
"ig_square",
"ig_story",
"x_post",
"linkedin",
"youtube_thumb"
],
"type": "string",
"description": "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, linkedin, youtube_thumb. In place of width and height."
},
"background": {
"type": "string"
},
"show_background": {
"type": "boolean"
}
}
},
"annotations": {
"title": "Add artboard",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Resize, move, rename, recolour or delete an artboard; notes holds a slide's speaker notes.
| Parameter | Type | Description |
|---|---|---|
| x | number | |
| y | number | |
| name | string | |
| tone | string | base, inverse (a dark page) or accent (a page in the accent colour); layouts built on it afterwards use that tone. |
| 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. |
| width | number | |
| delete | boolean | true deletes the artboard and every shape on it (one undo step); links into it then go nowhere. |
| height | number | |
| artboard | any | |
| background | string | |
| move_content | boolean | false moves the frame alone; by default its shapes and layouts move with it. |
| show_background | boolean |
{
"name": "set_artboard",
"title": "Edit artboard",
"description": "Resize, move, rename, recolour or delete an artboard; notes holds a slide's speaker notes.",
"inputSchema": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"name": {
"type": "string"
},
"tone": {
"enum": [
"base",
"inverse",
"accent"
],
"type": "string",
"description": "base, inverse (a dark page) or accent (a page in the accent colour); layouts built on it afterwards use that tone."
},
"notes": {
"type": "string",
"description": "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."
},
"width": {
"type": "number"
},
"delete": {
"type": "boolean",
"description": "true deletes the artboard and every shape on it (one undo step); links into it then go nowhere."
},
"height": {
"type": "number"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"background": {
"type": "string"
},
"move_content": {
"type": "boolean",
"description": "false moves the frame alone; by default its shapes and layouts move with it."
},
"show_background": {
"type": "boolean"
}
}
},
"annotations": {
"title": "Edit artboard",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}List the artboards.
No parameters.
{
"name": "list_artboards",
"title": "List artboards",
"description": "List the artboards.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"title": "List artboards",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Make an artboard the active one.
| Parameter | Type | Description |
|---|---|---|
| artboard * | any |
{
"name": "set_active_artboard",
"title": "Switch active artboard",
"description": "Make an artboard the active one.",
"inputSchema": {
"type": "object",
"required": [
"artboard"
],
"properties": {
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
}
}
},
"annotations": {
"title": "Switch active artboard",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Fit the active artboard to the artwork on it, plus optional padding.
| Parameter | Type | Description |
|---|---|---|
| padding | number |
{
"name": "fit_artboard",
"title": "Fit artboard to artwork",
"description": "Fit the active artboard to the artwork on it, plus optional padding.",
"inputSchema": {
"type": "object",
"properties": {
"padding": {
"type": "number"
}
}
},
"annotations": {
"title": "Fit artboard to artwork",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Delete shapes.
| Parameter | Type | Description |
|---|---|---|
| shape_ids * | array |
{
"name": "delete_shapes",
"title": "Delete shapes",
"description": "Delete shapes.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Delete shapes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Turn shapes into a reusable symbol.
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| shape_ids * | array |
{
"name": "make_symbol",
"title": "Make symbol",
"description": "Turn shapes into a reusable symbol.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"name": {
"type": "string"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Make symbol",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Place an instance of a symbol.
| Parameter | Type | Description |
|---|---|---|
| x | number | |
| y | number | |
| name | string | |
| symbol_id | string |
{
"name": "place_symbol",
"title": "Place symbol",
"description": "Place an instance of a symbol.",
"inputSchema": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"name": {
"type": "string"
},
"symbol_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Place symbol",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}List the symbols.
No parameters.
{
"name": "list_symbols",
"title": "List symbols",
"description": "List the symbols.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"title": "List symbols",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Turn one symbol instance into editable shapes.
| Parameter | Type | Description |
|---|---|---|
| shape_id * | string |
{
"name": "detach_symbol",
"title": "Detach symbol instance",
"description": "Turn one symbol instance into editable shapes.",
"inputSchema": {
"type": "object",
"required": [
"shape_id"
],
"properties": {
"shape_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Detach symbol instance",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Lock or unlock shapes.
| Parameter | Type | Description |
|---|---|---|
| locked * | boolean | |
| shape_ids * | array |
{
"name": "set_locked",
"title": "Lock or unlock shapes",
"description": "Lock or unlock shapes.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids",
"locked"
],
"properties": {
"locked": {
"type": "boolean"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Lock or unlock shapes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Fit artwork into a layout slot and keep it bound to it.
| Parameter | Type | Description |
|---|---|---|
| clip | boolean | |
| mode | string | one of ["contain","cover","stretch"] |
| path | string | |
| detach | boolean | |
| layout_id | string | |
| shape_ids * | any |
{
"name": "bind_slot",
"title": "Bind artwork to a layout slot",
"description": "Fit artwork into a layout slot and keep it bound to it.",
"inputSchema": {
"type": "object",
"required": [
"shape_ids"
],
"properties": {
"clip": {
"type": "boolean"
},
"mode": {
"enum": [
"contain",
"cover",
"stretch"
],
"type": "string"
},
"path": {
"type": "string"
},
"detach": {
"type": "boolean"
},
"layout_id": {
"type": "string"
},
"shape_ids": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "object",
"properties": {},
"additionalProperties": {}
}
]
}
}
},
"annotations": {
"title": "Bind artwork to a layout slot",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Render an artboard with measured facts, or compare a region with a reference.
| Parameter | Type | Description |
|---|---|---|
| flow | boolean | |
| brief | string | |
| scale | number | |
| region | object | Artboard-local crop. |
| artboard | any | |
| critique | boolean | |
| artboards | array | |
| before_after | boolean | |
| reference_id | string | From set_reference_image. |
| inspect_shape | string | Path whose anchors come back artboard-local. |
| reference_region | any | Reference crop when it differs from region. |
{
"name": "look",
"title": "Look at an artboard",
"description": "Render an artboard with measured facts, or compare a region with a reference.",
"inputSchema": {
"type": "object",
"properties": {
"flow": {
"type": "boolean"
},
"brief": {
"type": "string"
},
"scale": {
"type": "number"
},
"region": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
},
"description": "Artboard-local crop."
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"critique": {
"type": "boolean"
},
"artboards": {
"type": "array",
"items": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
}
},
"before_after": {
"type": "boolean"
},
"reference_id": {
"type": "string",
"description": "From set_reference_image."
},
"inspect_shape": {
"type": "string",
"description": "Path whose anchors come back artboard-local."
},
"reference_region": {
"anyOf": [
{
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
}
},
{
"type": "null"
}
],
"description": "Reference crop when it differs from region."
}
}
},
"annotations": {
"title": "Look at an artboard",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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 |
|---|---|---|
| svg | string | The whole drawing as SVG markup, viewBox "0 0 <board width> <board height>". |
| name | string | What the drawing shows; its shapes are named after it. |
| 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 at their joints and recoloured with one palette. Refused until the exact copy is finished. |
| artboard * | any | The drawing artboard, for example "Drawing · warehouse". |
| 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). |
| 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 picture is not part of the illustration and is never listed. [] once the comparison reports shape_misses… |
| reference_id * | string | The reference_id set_reference_image returned for this illustration; the reply shows the drawing beside it. |
{
"name": "draw_svg",
"title": "Draw SVG drawing",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"artboard",
"reference_id",
"differences"
],
"properties": {
"svg": {
"type": "string",
"description": "The whole drawing as SVG markup, viewBox \"0 0 <board width> <board height>\"."
},
"name": {
"type": "string",
"description": "What the drawing shows; its shapes are named after it."
},
"variant": {
"type": "boolean",
"description": "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 at their joints and recoloured with one palette. Refused until the exact copy is finished."
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "The drawing artboard, for example \"Drawing · warehouse\"."
},
"upload_id": {
"type": "string",
"description": "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)."
},
"differences": {
"type": "array",
"items": {
"type": "string"
},
"description": "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 picture is not part of the illustration and is never listed. [] once the comparison reports shape_misses 0. While it lists anything, the drawing is not finished: fix it and send the whole SVG again. With variant: every flaw the change left (a gap at a joint, a loose seam, a patch off its body), [] when there is none."
},
"reference_id": {
"type": "string",
"description": "The reference_id set_reference_image returned for this illustration; the reply shows the drawing beside it."
}
}
},
"annotations": {
"title": "Draw SVG drawing",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}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 |
|---|---|---|
| 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. |
| region | object | {x, y, width, height} in board units: the part the two pictures zoom into. Default: the whole picture. |
| 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 zoom into. Returns a gridded crop, the colour at each sample, and where each colour starts and stops… |
| regions | array | Up to 16 named parts {name, x, y, width, height}, in board units, counted on their own. |
| artboard * | any | The illustration's drawing artboard ("Drawing · <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. |
| reference_id * | string | The reference_id set_reference_image returned for this illustration. |
{
"name": "compare_drawing",
"title": "Compare drawing with picked image",
"description": "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).",
"inputSchema": {
"type": "object",
"required": [
"artboard",
"reference_id"
],
"properties": {
"ignore": {
"type": "array",
"items": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
}
},
"description": "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."
},
"region": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
},
"description": "{x, y, width, height} in board units: the part the two pictures zoom into. Default: the whole picture."
},
"measure": {
"type": "object",
"properties": {
"grid": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"type": "number"
}
},
"columns": {
"type": "array",
"items": {
"type": "number"
}
},
"samples": {
"type": "array",
"items": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
]
}
}
},
"description": "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 zoom into. Returns a gridded crop, the colour at each sample, and where each colour starts and stops along each row and column. Sent on its own, without regions, candidates or ignore."
},
"regions": {
"type": "array",
"items": {
"type": "object",
"required": [
"x",
"y",
"width",
"height",
"name"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"name": {
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
}
},
"description": "Up to 16 named parts {name, x, y, width, height}, in board units, counted on their own."
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "The illustration's drawing artboard (\"Drawing · <illustration>\")."
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"svg"
],
"properties": {
"svg": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"description": "Up to 6 {name, svg}: your whole drawing with one change each, scored against what the board holds now. Nothing is drawn."
},
"reference_id": {
"type": "string",
"description": "The reference_id set_reference_image returned for this illustration."
}
}
},
"annotations": {
"title": "Compare drawing with picked image",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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 |
|---|---|---|
| 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 design has none. |
{
"name": "plan_illustrations",
"title": "Plan illustrations",
"description": "List the illustrations each screen needs (none, one or several); the reply gives per_screen and the routes for the user to approve.",
"inputSchema": {
"type": "object",
"properties": {
"illustrations": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"shows",
"screens"
],
"properties": {
"name": {
"type": "string"
},
"shows": {
"type": "string"
},
"screens": {
"type": "array",
"items": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
}
}
}
},
"description": "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 design has none."
}
}
},
"annotations": {
"title": "Plan illustrations",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}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 |
|---|---|---|
| name | string | What the picture shows, e.g. "warehouse with an open loading bay". |
| data_url | string | Instead of candidate: a picture the user supplied, as a PNG, JPEG or WebP data URL. |
| candidate | string | The candidate id you picked from find_references for this illustration. |
| illustration * | string | The planned illustration, by its name in plan_illustrations. |
{
"name": "set_reference_image",
"title": "Load reference image",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"illustration"
],
"properties": {
"name": {
"type": "string",
"description": "What the picture shows, e.g. \"warehouse with an open loading bay\"."
},
"data_url": {
"type": "string",
"description": "Instead of candidate: a picture the user supplied, as a PNG, JPEG or WebP data URL."
},
"candidate": {
"type": "string",
"description": "The candidate id you picked from find_references for this illustration."
},
"illustration": {
"type": "string",
"description": "The planned illustration, by its name in plan_illustrations."
}
}
},
"annotations": {
"title": "Load reference image",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}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 |
|---|---|---|
| count | integer | How many candidates, 4 to 10 (default 8). |
| query * | string | Its subject, pose and view, e.g. "warehouse with open loading bay". |
| style | string | clipart (default) for flat and cartoon illustration, lineart for line drawings. |
| illustration * | string | The planned illustration this search is for, by its name in plan_illustrations. |
{
"name": "find_references",
"title": "Find drawing references",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"query",
"illustration"
],
"properties": {
"count": {
"type": "integer",
"description": "How many candidates, 4 to 10 (default 8)."
},
"query": {
"type": "string",
"description": "Its subject, pose and view, e.g. \"warehouse with open loading bay\"."
},
"style": {
"enum": [
"clipart",
"lineart"
],
"type": "string",
"description": "clipart (default) for flat and cartoon illustration, lineart for line drawings."
},
"illustration": {
"type": "string",
"description": "The planned illustration this search is for, by its name in plan_illustrations."
}
}
},
"annotations": {
"title": "Find drawing references",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Export screens as code (HTML, React, SwiftUI, Compose, Flutter) or layered SVG, with tokens and assets, as a ZIP link.
| Parameter | Type | Description |
|---|---|---|
| file | string | |
| format | string | one of ["html","react","swiftui","compose","flutter","svg"] |
| artboards | array |
{
"name": "export_code",
"title": "Export code",
"description": "Export screens as code (HTML, React, SwiftUI, Compose, Flutter) or layered SVG, with tokens and assets, as a ZIP link.",
"inputSchema": {
"type": "object",
"properties": {
"file": {
"type": "string"
},
"format": {
"enum": [
"html",
"react",
"swiftui",
"compose",
"flutter",
"svg"
],
"type": "string"
},
"artboards": {
"type": "array",
"items": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
}
}
}
},
"annotations": {
"title": "Export code",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}The finished deck or document by link: PDF, editable PowerPoint (pptx) or post images.
| Parameter | Type | Description |
|---|---|---|
| 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 cards, carousels). |
| artboards | array | Pages in the order wanted (index, id or name). Default: every page artboard in order. |
| file_name | string | The file's name, e.g. "LittleNest seed deck". |
{
"name": "export_document",
"title": "Export the deck or document",
"description": "The finished deck or document by link: PDF, editable PowerPoint (pptx) or post images.",
"inputSchema": {
"type": "object",
"properties": {
"format": {
"enum": [
"pdf",
"pptx",
"images"
],
"type": "string",
"description": "\"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 cards, carousels)."
},
"artboards": {
"type": "array",
"items": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"description": "Pages in the order wanted (index, id or name). Default: every page artboard in order."
},
"file_name": {
"type": "string",
"description": "The file's name, e.g. \"LittleNest seed deck\"."
}
}
},
"annotations": {
"title": "Export the deck or document",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Use when a control opens hidden UI: adds a sized, linked dropdown, side, sheet, dialog or state board beside its screen.
| Parameter | Type | Description |
|---|---|---|
| to | any | Instead of kind: the screen a tab or Continue goes to (links it; no board). |
| kind | string | dropdown, side, sheet, dialog, or state (a tab, a segment, the result after Send). |
| name | string | |
| height | integer | Dropdown, sheet or dialog only. |
| screen * | any | The screen the control is on (index, id or name). |
| trigger * | object | {shape_ids} or {label}: the control that opens it. |
{
"name": "add_hidden_ui",
"title": "Add hidden UI",
"description": "Use when a control opens hidden UI: adds a sized, linked dropdown, side, sheet, dialog or state board beside its screen.",
"inputSchema": {
"type": "object",
"required": [
"screen",
"trigger"
],
"properties": {
"to": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "Instead of kind: the screen a tab or Continue goes to (links it; no board)."
},
"kind": {
"enum": [
"dropdown",
"side",
"sheet",
"dialog",
"state"
],
"type": "string",
"description": "dropdown, side, sheet, dialog, or state (a tab, a segment, the result after Send)."
},
"name": {
"type": "string"
},
"height": {
"type": "integer",
"description": "Dropdown, sheet or dialog only."
},
"screen": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "The screen the control is on (index, id or name)."
},
"trigger": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"description": "{shape_ids} or {label}: the control that opens it."
}
}
},
"annotations": {
"title": "Add hidden UI",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Draw a planned illustration with SVG Lab's vector model: editable SVG from a text brief, the faster route (500 credits).
| Parameter | Type | Description |
|---|---|---|
| prompt * | string | The brief: subject, action, setting, style, palette (hex), no background, no text. |
| artboard | string | Its board; default "Drawing · <name>". |
| illustration * | string | The planned illustration's name (plan_illustrations). |
{
"name": "generate_illustration",
"title": "Draw with SVG Lab's vector model",
"description": "Draw a planned illustration with SVG Lab's vector model: editable SVG from a text brief, the faster route (500 credits).",
"inputSchema": {
"type": "object",
"required": [
"illustration",
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"description": "The brief: subject, action, setting, style, palette (hex), no background, no text."
},
"artboard": {
"type": "string",
"description": "Its board; default \"Drawing · <name>\"."
},
"illustration": {
"type": "string",
"description": "The planned illustration's name (plan_illustrations)."
}
}
},
"annotations": {
"title": "Draw with SVG Lab's vector model",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Progress of drawings by SVG Lab's vector model: status, seconds, group_id once placed.
No parameters.
{
"name": "illustration_jobs",
"title": "Vector drawing progress",
"description": "Progress of drawings by SVG Lab's vector model: status, seconds, group_id once placed.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"title": "Vector drawing progress",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Show a phone screen on other phones and foldables, reflowed, on new artboards.
| Parameter | Type | Description |
|---|---|---|
| sizes | array | |
| devices | array | |
| artboard * | any |
{
"name": "make_responsive",
"title": "Show on other phones",
"description": "Show a phone screen on other phones and foldables, reflowed, on new artboards.",
"inputSchema": {
"type": "object",
"required": [
"artboard"
],
"properties": {
"sizes": {
"type": "array",
"items": {
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"name": {
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
}
}
},
"devices": {
"type": "array",
"items": {
"type": "string"
}
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
}
}
},
"annotations": {
"title": "Show on other phones",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Read a screen's layout tree, sizing, text, paint, taps, asset ids and tokens, to build it in code.
| Parameter | Type | Description |
|---|---|---|
| node | string | |
| artboard | any | |
| max_nodes | integer |
{
"name": "read_screen",
"title": "Read screen structure",
"description": "Read a screen's layout tree, sizing, text, paint, taps, asset ids and tokens, to build it in code.",
"inputSchema": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"max_nodes": {
"type": "integer"
}
}
},
"annotations": {
"title": "Read screen structure",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Get drawings and icons as SVG or PNG files by asset id or artboard; a ZIP link for many.
| Parameter | Type | Description |
|---|---|---|
| assets | array | |
| format | string | one of ["svg","png"] |
| scales | array | |
| artboard | any |
{
"name": "get_assets",
"title": "Get asset files",
"description": "Get drawings and icons as SVG or PNG files by asset id or artboard; a ZIP link for many.",
"inputSchema": {
"type": "object",
"properties": {
"assets": {
"type": "array",
"items": {
"type": "string"
}
},
"format": {
"enum": [
"svg",
"png"
],
"type": "string"
},
"scales": {
"type": "array",
"items": {
"type": "integer"
}
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
}
}
},
"annotations": {
"title": "Get asset files",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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 |
|---|---|---|
| tool | string | One tool's full reference. |
| fonts | any | 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. |
| query | string | |
| skill | string | Designer skill id. |
| tools | array | |
| 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. |
| reference | string | With skill: a linked document. |
| components | boolean | true: the components, their props and defaults, the icon names and the layout node types. Read on its own. |
{
"name": "docs",
"title": "Read the reference",
"description": "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.",
"inputSchema": {
"type": "object",
"properties": {
"tool": {
"type": "string",
"description": "One tool's full reference."
},
"fonts": {
"anyOf": [
{
"type": "boolean",
"const": true
},
{
"type": "object",
"properties": {
"role": {
"enum": [
"display",
"text",
"both",
"mono",
"accent"
],
"type": "string"
},
"query": {
"type": "string"
},
"family": {
"type": "string"
},
"category": {
"enum": [
"sans",
"serif",
"slab",
"mono",
"display",
"script",
"handwriting"
],
"type": "string"
}
}
}
],
"description": "true, or {role, category, query, family}: the curated type catalog, each family's role, personality, pairings and weights. Read on its own."
},
"guide": {
"type": "string",
"description": "Guide id, e.g. start-here or drawing-from-references."
},
"query": {
"type": "string"
},
"skill": {
"type": "string",
"description": "Designer skill id."
},
"tools": {
"type": "array",
"items": {
"type": "string"
}
},
"guides": {
"type": "array",
"items": {
"type": "string"
},
"description": "Up to 8 guide ids, read whole in one call."
},
"lesson": {
"type": "string",
"description": "Not used in SVG Lab Draw: returns the illustration routine."
},
"lessons": {
"type": "array",
"items": {
"type": "string"
},
"description": "Not used in SVG Lab Draw: returns the illustration routine."
},
"reference": {
"type": "string",
"description": "With skill: a linked document."
},
"components": {
"type": "boolean",
"const": true,
"description": "true: the components, their props and defaults, the icon names and the layout node types. Read on its own."
}
}
},
"annotations": {
"title": "Read the reference",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Start a project: kind "ui" (apps, sites) or "marketing" (decks, pitch decks, posters, ads, posts, flyers, reports).
| Parameter | Type | Description |
|---|---|---|
| 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 hands over the finished PDF, editable PowerPoint or post images. "ui" (default) for app screens and we… |
| name | string | |
| imagery | string | one of ["any","photo","mixed","drawn"] |
| 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), and assumed: true when they said to just go ahead. Without it new_project returns the questions and … |
| 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. |
{
"name": "new_project",
"title": "New project",
"description": "Start a project: kind \"ui\" (apps, sites) or \"marketing\" (decks, pitch decks, posters, ads, posts, flyers, reports).",
"inputSchema": {
"type": "object",
"properties": {
"kind": {
"enum": [
"ui",
"marketing"
],
"type": "string",
"description": "\"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 hands over the finished PDF, editable PowerPoint or post images. \"ui\" (default) for app screens and websites. Chosen once for the project."
},
"name": {
"type": "string"
},
"imagery": {
"enum": [
"any",
"photo",
"mixed",
"drawn"
],
"type": "string"
},
"planning": {
"type": "object",
"required": [
"answers",
"watch"
],
"properties": {
"watch": {
"enum": [
"in_app_browser",
"own_browser",
"not_now"
],
"type": "string"
},
"answers": {
"type": "string"
},
"assumed": {
"type": "boolean"
}
},
"description": "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), and assumed: true when they said to just go ahead. Without it new_project returns the questions and makes nothing."
},
"from_project": {
"type": "string",
"description": "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."
}
}
},
"annotations": {
"title": "New project",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Open a saved project.
| Parameter | Type | Description |
|---|---|---|
| project_id * | string |
{
"name": "open_project",
"title": "Open project",
"description": "Open a saved project.",
"inputSchema": {
"type": "object",
"required": [
"project_id"
],
"properties": {
"project_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Open project",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Save and close the server editor.
No parameters.
{
"name": "pause_editor",
"title": "Pause the server editor",
"description": "Save and close the server editor.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"title": "Pause the server editor",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List the user's projects.
No parameters.
{
"name": "list_projects",
"title": "List projects",
"description": "List the user's projects.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"title": "List projects",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Show the current project and its link.
No parameters.
{
"name": "current_project",
"title": "Show current project",
"description": "Show the current project and its link.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"title": "Show current project",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Export an artboard as SVG, with a preview card and a link to a PNG picture.
| Parameter | Type | Description |
|---|---|---|
| part | integer | Numbered SVG part, from 1. |
| artboard * | any | |
| export_id | string | From part 1. |
| background | string | |
| outline_text | boolean |
{
"name": "export_artboard",
"title": "Export artboard",
"description": "Export an artboard as SVG, with a preview card and a link to a PNG picture.",
"inputSchema": {
"type": "object",
"required": [
"artboard"
],
"properties": {
"part": {
"type": "integer",
"description": "Numbered SVG part, from 1."
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"export_id": {
"type": "string",
"description": "From part 1."
},
"background": {
"type": "string"
},
"outline_text": {
"type": "boolean"
}
}
},
"annotations": {
"title": "Export artboard",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Search Unsplash and Pexels for photographs; nothing is placed.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| query * | string | |
| source | string | one of ["unsplash","pexels"] |
| preview | boolean | |
| orientation | string | one of ["landscape","portrait","square"] |
{
"name": "search_photos",
"title": "Search stock photos",
"description": "Search Unsplash and Pexels for photographs; nothing is placed.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer"
},
"query": {
"type": "string"
},
"source": {
"enum": [
"unsplash",
"pexels"
],
"type": "string"
},
"preview": {
"type": "boolean"
},
"orientation": {
"enum": [
"landscape",
"portrait",
"square"
],
"type": "string"
}
}
},
"annotations": {
"title": "Search stock photos",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Place a photograph in a box.
| Parameter | Type | Description |
|---|---|---|
| x * | number | |
| y * | number | |
| fit | string | one of ["cover","contain"] |
| url | string | |
| name | string | |
| photo | object | |
| scrim | any | |
| width * | number | |
| height * | number | |
| artboard | any | |
| data_url | string | |
| corner_radius | number |
{
"name": "place_image",
"title": "Place image",
"description": "Place a photograph in a box.",
"inputSchema": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"fit": {
"enum": [
"cover",
"contain"
],
"type": "string"
},
"url": {
"type": "string"
},
"name": {
"type": "string"
},
"photo": {
"type": "object",
"required": [
"query"
],
"properties": {
"index": {
"type": "integer"
},
"query": {
"type": "string"
},
"source": {
"enum": [
"unsplash",
"pexels"
],
"type": "string"
},
"orientation": {
"enum": [
"landscape",
"portrait",
"square"
],
"type": "string"
}
}
},
"scrim": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "object",
"description": "Scrim options: docs {tool}."
}
]
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"data_url": {
"type": "string"
},
"corner_radius": {
"type": "number"
}
}
},
"annotations": {
"title": "Place image",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Place the user's own image or SVG file.
| Parameter | Type | Description |
|---|---|---|
| x | number | |
| y | number | |
| as | string | one of ["auto","shapes","image"] |
| fit | string | one of ["cover","contain"] |
| url | string | |
| name | string | |
| scrim | any | |
| width | number | |
| height | number | |
| purpose | string | one of ["artwork","pattern_tile"] |
| artboard | any | |
| asset_id | string | |
| data_url | string | |
| shape_ids | array | |
| tile_size | number | |
| corner_radius | number |
{
"name": "upload_asset",
"title": "Upload image or file",
"description": "Place the user's own image or SVG file.",
"inputSchema": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"as": {
"enum": [
"auto",
"shapes",
"image"
],
"type": "string"
},
"fit": {
"enum": [
"cover",
"contain"
],
"type": "string"
},
"url": {
"type": "string"
},
"name": {
"type": "string"
},
"scrim": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "object",
"description": "Scrim options: docs {tool}."
}
]
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"purpose": {
"enum": [
"artwork",
"pattern_tile"
],
"type": "string"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"asset_id": {
"type": "string"
},
"data_url": {
"type": "string"
},
"shape_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"tile_size": {
"type": "number"
},
"corner_radius": {
"type": "number"
}
}
},
"annotations": {
"title": "Upload image or file",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}The person's uploaded files, in every project, and their design_system section (any name).
| Parameter | Type | Description |
|---|---|---|
| query | string | |
| section | string | one of ["uploads","design_system"] |
{
"name": "list_uploads",
"title": "List the person's uploads",
"description": "The person's uploaded files, in every project, and their design_system section (any name).",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string"
},
"section": {
"enum": [
"uploads",
"design_system"
],
"type": "string"
}
}
},
"annotations": {
"title": "List the person's uploads",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Place one uploaded picture by upload_id: SVG as shapes, a photo as an image.
| Parameter | Type | Description |
|---|---|---|
| x | number | |
| y | number | |
| fit | string | one of ["cover","contain"] |
| name | string | |
| width | number | |
| height | number | |
| artboard | any | |
| upload_id * | string |
{
"name": "use_upload",
"title": "Place an upload",
"description": "Place one uploaded picture by upload_id: SVG as shapes, a photo as an image.",
"inputSchema": {
"type": "object",
"required": [
"upload_id"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"fit": {
"enum": [
"cover",
"contain"
],
"type": "string"
},
"name": {
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"upload_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Place an upload",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Read the design_system section's files: pictures, SVG, tokens and PDFs.
| Parameter | Type | Description |
|---|---|---|
| upload_id | string |
{
"name": "read_design_system",
"title": "Read the design system",
"description": "Read the design_system section's files: pictures, SVG, tokens and PDFs.",
"inputSchema": {
"type": "object",
"properties": {
"upload_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Read the design system",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Save a design system board to the design_system section: SVG plus tokens JSON.
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| artboard | any |
{
"name": "save_design_system",
"title": "Save the design system",
"description": "Save a design system board to the design_system section: SVG plus tokens JSON.",
"inputSchema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"artboard": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
}
}
},
"annotations": {
"title": "Save the design system",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}SVG Lab MCP: the Design Engine for AI. It builds editable app screens, websites, decks, posters, logos, icons and illustrations in the user's SVG Lab editor, saved to My Projects; adult content is declined. Start: before building, ask the user the questions new_project lists (platform, screens, look, photos or drawings, where to watch), in one message, with recommended answers (AskUserQuestion in Claude Code). Then new_project (kind "ui" for apps and sites; "marketing" for decks, posters, posts) with planning {answers, watch}; open what its watch_live says, now. Screens: add_artboard, create_layout, update_layout, create_icon, design_tokens; photos: search_photos, place_image. A menu, filter, picker, dialog or tab state gets add_hidden_ui, not a screen. Check with look. Pictures: once the screens exist, plan_illustrations lists the illustrations each screen needs (none, one or several; never shared). Tell the user how many go on each screen and the routes (you draw, or SVG Lab's vector model for credits); get their approval first. In Claude Code give each brief, word for word, to its own sub-agent (Agent tool, up to 6); in claude.ai follow each brief yourself, one at a time. Each draws by hand as SVG, exactly like its reference, measured with the draw kit on your machine (set_reference_image local; no shell: compare_drawing); no tracing; close is not finished. draw_svg uploads the finished copy, then alters it into the design's own (re-posed at its joints, recoloured) for fit_to_box. Routine: docs guide drawing-from-references. Marketing: pages are artboards in order (preset slide_16x9), notes via set_artboard {notes}; export_document makes the PDF, PowerPoint or post images. Finish (ui): export_artboard per screen, then current_project for the link. Code: export_code; read_screen and get_assets build an app from a saved project (docs guide build-from-project). Downloads are links. editor_starting or editor_busy: nothing ran, send it again after retry_after_s; still_running: still working.
Names, descriptions and schemas were written by the server and are shown as data.