il_build_live
Build Illustrator artwork one step at a time so each object or change runs as its own visible job, with the view fitted to the artboard and the document redrawn between steps for live watching.
Instructions
Build in Illustrator ONE STEP AT A TIME so the work can be watched as it happens: each step is a short script that runs as its own job; before it, the view is fitted to the artboard the step works on (artboard), and after it the document is redrawn and the tool waits pace_ms. Use it whenever someone is watching, and for any build of more than a few objects: give ONE object or one visible change per step with a short plain-language label, which becomes that step's line in the bridge panel's Activity feed. Step code is a function body with doc (the active document, null until a step creates one) and S (an object that survives between steps; local variables do not, so re-find items by name or keep values on S). All KAI.* Illustrator helpers are available. A failing step stops the run and reports which one.
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": {
"steps": "<steps>"
},
"name": "il_build_live"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | start with an empty S (default true); false when continuing an earlier run | |
| steps | Yes | ||
| title | No | one line shown in the Activity feed before the steps | |
| follow | No | fit the view to each step's artboard (default true) | |
| pace_ms | No | pause between steps, default 700; 0 = as fast as Illustrator allows | |
| artboard | No | artboard for every step that does not name its own | |
| timeout_sec | No | ||
| expected_project | No | Document guard: refuse to run unless the active document path contains this text. |