Add rows to a Brilliant design
edit_designUse this when the user wants to change, restyle or add to a Brilliant design opened in this conversation, such as adding a section or a screen next to it, changing the copy or the colors, or making it darker. It takes the design's seed and Blueprint rows and applies them on that design's canvas: new rows add layers, and a row that leads with an id or #ref the design already has changes that layer. It returns how the rows applied, naming any row that did not apply. Its rows run up to 8,000 characters per call; a call of about 20 rows (about 1,500 characters), such as a page's frame and its first section, lands on the canvas within a few seconds. Rows take literal values (hex colors, numbers); design tokens are not available in this lane.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"seed": "<seed>",
"blueprint": "<blueprint>"
},
"name": "edit_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | Yes | The slug of a design opened in this conversation (from the design result). | |
| blueprint | Yes | Readable design rows, one element per line: its kind, text, size and colors in short form. Example: t("Sign in",Inter,15,b) f[(#FFFFFF)] is the bold white 15 px Inter text "Sign in". Children sit indented two spaces under their parent; no file() row; literal values (hex colors, numbers). Placeholder copy shows a person as a role label ("Account owner", "Home cook") rather than a first and last name: a profile, a name field's sample value and a testimonial's author alike. Brilliant applies rows as they arrive and the canvas animates each batch in, so a design reads best when its first rows set the frame and its main sections and later rows fill in the details. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| turn | Yes | ||
| halts | No | ||
| render | No | ||
| repeat | No | ||
| result | No | ||
| applied | Yes | ||
| outcome | No | ||
| pending | No | ||
| elements | No | ||
| diagnostics | No | ||
| canvasOpened | No |