mcp
v1.0.0MCP server (stdio) for Lila Modeler: model, validate, simulate and document BPMN processes from an AI agent, on top of @lila-modeler/engine
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
validate_bpmn Validate BPMN
Parses and validates a .bpmn file or one process of a .lila project (by path or inline XML, one of the two) and returns the same JSON as `lila validate --json`: the IR, the ignored processes, and structured errors/warnings. A model with a non-empty `errors` cannot be simulated, but that is a valid result of the tool: isError only marks that the tool failed (bad arguments, unreadable file, impenetrable XML).
| Parameter | Type | Description |
|---|---|---|
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
path | string | Path to the .bpmn or .lila, relative to the cwd of the server process. |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
xml | string | XML content of the .bpmn, instead of a path. |
describe_process Describe process
Parses a .bpmn or one process of a .lila (by path or inline XML, one of the two) and returns its IR (ProcessIR) together with a readable summary (the `resumen` key): node count by type, gateways with their outgoing flows, lanes, subprocesses, other processes in the file and whether the model passes validation. With the optional `scenario` (path to a .json scenario, resolves `extends`; with a .lila, also the name of a scenario of that process) it adds the resources referenced by element.
| Parameter | Type | Description |
|---|---|---|
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
path | string | Path to the .bpmn or .lila, relative to the cwd of the server process. |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
scenario | string | Path to a .json scenario, relative to the cwd; with a .lila, or a scenario name in it. |
xml | string | XML content of the .bpmn, instead of a path. |
run_simulation Run simulation
Validates model and scenario, simulates and returns the same `RunResult` as `lila run --json` (elements, flows, resources, process, bottlenecks and warnings). `scenario` accepts a .json path (resolves `extends`) or the already resolved scenario as an inline object. `model` may be a .lila project: `scenario` is then also the name of a scenario of that process (a .json path that exists wins), and `process` picks the process when there are several. `saveTo` writes the same JSON atomically, like `lila run --json <path>`; `saveRun` stores the run in the .lila, like `lila run --save`. `logTo` stream…
| Parameter | Type | Description |
|---|---|---|
scenario * | ||
detail | string | summary (default): process KPIs, bottlenecks, per-resource utilization/wait/cost, the elements that wait most and grouped warnings. full: the whole result (every element and flow). |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
logTo | string | Path of a CSV file for the event log, as the log.csv of `lila run --csv`. Written only after a complete run; the second content block returns { log: <absolute path> } (with `saveRun`, { log, savedRun… |
model | string | Path to the .bpmn or .lila; defaults to scenario.model. |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
replications | integer | Overrides run.replications. |
saveRun | boolean | With a .lila `model` and a scenario of it: store the run in the project, as the app does (it opens as the current run; export_document/export_results use it). A second content block returns { savedRun… |
saveTo | string | Path to write the RunResult as JSON. |
seed | integer | Overrides run.seed. |
compare_scenarios Compare scenarios
Validates and simulates two or more scenarios on the same model (the first one is the base) and returns the same `CompareResult` as `lila compare --json`, plus `notes`: the warnings the CLI prints beside the table (different seeds, different `baseTimeUnit`, too few replications for a 95% CI). `scenarios` accepts .json paths and inline objects, mixed; with a .lila `model`, also scenario names of that process (`process` picks it). `saveTo` writes `comparison` as JSON, like `lila compare --json`, or with `format: "xlsx"` the workbook of `lila compare --xlsx`. By default `comparison` is a summary…
| Parameter | Type | Description |
|---|---|---|
scenarios * | array | |
all | boolean | Every row, like `lila compare --all`: the same as detail "full"; refused with detail "summary". |
detail | string | summary (default): the process and resource rows, every other row marked significant for some scenario, and omittedRows (how many were left out). full: every row of the comparison. |
format | string | What saveTo writes: "json" (default) or "xlsx", the workbook of `lila compare --xlsx`. "xlsx" needs saveTo. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
model | string | Path to the .bpmn or .lila; defaults to the model of the first scenario. |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
replications | integer | Overrides run.replications in every scenario. |
saveTo | string | Path to write the CompareResult as JSON, or the workbook with format "xlsx". |
seed | integer | Overrides run.seed in every scenario. |
patch_scenario Patch scenario
Applies a JSON Patch (RFC 6902; only add/replace/remove/test, no move/copy) to a scenario, validates the result against its model and writes it to disk only if it validates. Without `saveTo` it patches `scenario` in place (the full resolved scenario, without `extends`). With `saveTo` it creates a new file with `extends` towards `extendsFrom` (by default, `scenario` itself) and only the keys the patch touched — like `to-be-3-cajeros.scenario.json`. Returns the resulting resolved scenario, the path written, `written` and `notes` with the lint warnings. A patch that changes nothing (only `test`…
| Parameter | Type | Description |
|---|---|---|
patch * | array | |
scenario * | string | Path to the .json scenario to read and patch, relative to the cwd; with `project`, its name. |
description | string | Description of the resulting scenario. |
dryRun | boolean | Validate everything and write nothing (`written: false`). Default false. |
extendsFrom | string | Parent of the `extends` of the new file (only with `saveTo`). Defaults to `scenario`. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
name | string | Name of the resulting scenario; defaults to a generated one. |
process | string | Slug of the process of `project` when it holds several; implicit when it holds one. |
project | string | Path to a .lila: patch a scenario inside it instead of a .json on disk. |
saveTo | string | Absent: writes over `scenario`. Present: creates a new scenario with `extends` there. |
export_diagram Export diagram
Draws the diagram of a .bpmn, or of one process of a .lila, as SVG with the engine's own renderer (no app, no browser): the BPMN DI geometry in the Lila Light colours on white. With `overlay`, coloured with a stored run of the .lila (`run`/`scenario` select it as in `export_document`) on the app's scale: "bottlenecks" tints the canvas's bottleneck cut, "heatmap" every measured task as the Results heat map does; `run` in the answer says which. Without `saveTo` the SVG comes back in `svg`; with it, it is written atomically and `file` is the absolute path. Like `lila export diagram`.
| Parameter | Type | Description |
|---|---|---|
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
overlay | string | Colour the diagram with a stored run (needs a .lila with one): the bottleneck cut or the heat map. |
overwrite | boolean | Replace an existing file. Default false: existing files are never overwritten. |
path | string | Path to a .bpmn (or .lila), instead of `project`. |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
project | string | Path to a .lila, relative to the cwd of the server process. |
run | string | A stored run id, or "latest" (default): the run of the current model and scenario. |
saveTo | string | Path of the .svg to write. |
scenario | string | With "latest", the run of this scenario (needed when several scenarios have one). |
create_process Create process
Creates a process from an outline — lanes plus an ordered list of steps with branches — laid out automatically (pool, lanes, flows) and validated, and writes it as a new `processes/<slug>/` of the .lila `project`, or as a new .lila when the file does not exist. It never replaces an existing process: a slug already in the file is an error and nothing is written. List order is the flow: each step follows the previous one unless it has `next`, `branches` or `end`. End events are added, and one start before the first step unless `starts` lists them (several, or a timer start; steps name theirs…
| Parameter | Type | Description |
|---|---|---|
outline * | object | The process: {name, lanes?: [lane names], starts?: [{id, name?, type? (none | timer), lane?}], steps: [{id, name?, lane?, type? (task | userTask | serviceTask | sendTask | receiveTask | manualTask | s… |
project * | string | Path to the .lila (created if missing), relative to the cwd of the server process. |
dryRun | boolean | true: build and validate, write nothing. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
name | string | Name of the process; defaults to outline.name. |
process | string | Slug of the new process folder in an existing .lila. Defaults to one derived from the name. |
export_document Export process document
Writes the process document of one process of a .lila, like the app's Export document: diagram, element descriptions in flow order, the scenario and the results of a stored run. `run` "latest" (default) takes the run of the current model and scenario, and the document goes without results when there is none; an older run is refused. `format` docx or html; the HTML embeds the SVG diagram and the run's charts as SVG (no cycle time histogram: a stored run keeps no per-case times); the Word file has neither (no rasteriser). `notes` says what was left out. Like `lila export doc`.
| Parameter | Type | Description |
|---|---|---|
format * | string | |
project * | string | Path to the .lila, relative to the cwd of the server process. |
saveTo * | string | Path of the .docx or .html to write. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
overwrite | boolean | Replace an existing file. Default false: existing files are never overwritten. |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
run | string | A stored run id, or "latest" (default): the run of the current model and scenario. |
scenario | string | With "latest", the run of this scenario (needed when several scenarios have one). |
export_results Export results
Writes the results of a run stored in a .lila, like `lila run --xlsx`/`--csv`: `xlsx` is one workbook (Summary, Elements, Flows, Resources, Parameters, Percentiles) at `saveTo`; `csv` writes elements, flows, resources, process and percentiles .csv into the directory `saveTo`. Percentiles are the p50/p90/p95 resource wait per element in seconds, over all replications, from simulating the run's stored inputs again (a stored run keeps no event log); `percentiles.included` is false, with a `note`, when that re-run does not reproduce the stored process KPIs. `run` "latest" (default) is the run of t…
| Parameter | Type | Description |
|---|---|---|
format * | string | |
project * | string | Path to the .lila, relative to the cwd of the server process. |
saveTo * | string | Path of the .xlsx, or the directory for the CSV files. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
overwrite | boolean | Replace an existing file. Default false: existing files are never overwritten. |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
run | string | A stored run id, or "latest" (default): the run of the current model and scenario. |
scenario | string | With "latest", the run of this scenario (needed when several scenarios have one). |
get_process_outline Get process outline
Reads one process of a .lila as an outline (the format `create_process` takes, in normal form: every step names its lane, `next` only when it is not the following step, `end: true` (or "terminate") where the process ends, `starts` unless there is one plain start `StartEvent`, durations as scenario distributions in seconds). Boundary timers, event gateways, default flows, the task variants, text annotations (`notes`) and data objects (`data`) are read too. Durations, delays, resources and branch probabilities come from its `as-is.scenario.json` when it has one. `warnings` lists what the outline…
| Parameter | Type | Description |
|---|---|---|
project * | string | Path to the .lila, relative to the cwd of the server process. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
annotate_element Annotate element
Writes the description, RACI responsibilities, catalog references and extended attribute values of one element (task, event, gateway, flow, lane, pool, the process…) of a process of a .lila, by its BPMN id, and saves the project atomically. `documentation` replaces the description ("" removes it); `responsibilities` replaces the whole RACI list ([] clears it); each kind in `refs` replaces that kind; `attributes` are merged by attribute id or name ("" removes a value) and checked against the project's attribute definitions. Writes where the app reads: a pool's description goes to the process…
| Parameter | Type | Description |
|---|---|---|
elementId * | string | The BPMN id of the element. |
project * | string | Path to the .lila, relative to the cwd of the server process. |
attributes | object | Extended attribute values by attribute id or name; "" removes one. |
documentation | string | The element's description; "" removes it. |
dryRun | boolean | Report what would change and write nothing. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
refs | object | By kind (systemRef, documentRef, riskRef, controlRef, kpiRef, input, output): the ids it references. |
responsibilities | array | The whole RACI list of the element; [] clears it. |
define_attribute Define attribute
Defines, changes or removes one extended attribute of a process of a .lila (#633), what `annotate_element` then fills in on elements, with the rules of the app's attribute dialog: a name unique per element type, a `list` with at least one option, a `default` that fits. Pass the whole definition every time (`name`, `type`, `appliesTo`, and `options`/`default` when it has them): it updates the one with that `id`, else the one with that name (any case) and `appliesTo`, else creates one with a deterministic id (`Attr_<name>`), so calling it again changes nothing. A rename keeps the values; `remove…
| Parameter | Type | Description |
|---|---|---|
project * | string | Path to the .lila, relative to the cwd of the server process. |
appliesTo | string | The element type it applies to: task, gateway, event, subProcess, lane (pools and lanes) or process. Required unless removing by id. |
default | string | What an element without its own value shows; it has to fit the type. |
dryRun | boolean | Report what would change and write nothing. |
id | string | The definition to change or remove. Leave it out to find it by name and appliesTo, or to create one. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
name | string | Its name, as people read it ("SLA (h)"). Required unless removing by id. |
options | array | The options of a list (only a list takes them). |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
remove | boolean | Remove the definition and every value it has. |
type | string | text, number, list or date. Required unless removing. |
get_raci_matrix Get RACI matrix
The RACI matrix of a process of a .lila: `roles` (every roleRef, in order of appearance) and `rows`, one per element with responsibilities, in the order of the process document (id, name, lane, the raw `responsibilities` and `cells`: role -> "R", "A, C"…). Like `lila process raci --json`.
| Parameter | Type | Description |
|---|---|---|
project * | string | Path to the .lila, relative to the cwd of the server process. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
import_scenario_sheet Import scenario sheet
Applies a scenario sheet (.xlsx, or a .csv/.txt table; the template of `export_scenario_template`, docs/SCENARIO_SHEETS.md) to a scenario of a .lila, exactly like the app's Import Excel/CSV: `changes` (each with before, after and a readable `text`) and `issues` (rows not applied, notes, and `lint` errors the result would have). The scenario is saved atomically unless `dryRun`, nothing changes, or there is a `lint` issue (then it is an error and nothing is written). As in the app, the valid rows are written even when other rows are not applied: read `issues` before calling the import done. Like…
| Parameter | Type | Description |
|---|---|---|
project * | string | Path to the .lila, relative to the cwd of the server process. |
scenario * | string | A scenario of the process: its file name (with or without .scenario.json) or its "name". |
sheet * | string | Path to the .xlsx, .csv or .txt, relative to the cwd of the server process. |
dryRun | boolean | Report what would change and write nothing. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
export_scenario_template Export scenario template
Writes the scenario sheet of a scenario of a .lila as .xlsx (Elements, Arrivals, Resources, Assignments, Calendars), filled in with its current values, like the app's Download template: hand it to a person to fill in, then `import_scenario_sheet`. Never overwrites an existing file unless `overwrite`. Like `lila scenario template`.
| Parameter | Type | Description |
|---|---|---|
project * | string | Path to the .lila, relative to the cwd of the server process. |
saveTo * | string | Path of the .xlsx to write. |
scenario * | string | A scenario of the process: its file name or its "name". |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
overwrite | boolean | Replace an existing file. Default false. |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
create_project Create project
Creates a new .lila project from a BPMN model (inline XML, or a path to a .bpmn) and optional scenarios, without the app; the web and desktop apps open it. A model with validation errors is refused. Scenarios are saved as given (a scenario without `model` or `extends` gets "model.bpmn"): each comes back with `runnable` and its `errors`, so a draft is kept but flagged. Written atomically (no partial file on error); an existing file is refused unless `overwrite`. A model without a diagram (BPMN DI) gets one, drawn as `edit_process` with `layout: true` draws it (`laidOut: true`); one that cannot…
| Parameter | Type | Description |
|---|---|---|
bpmn * | string | BPMN 2.0 XML, or a path to a .bpmn. |
name * | string | Name of the project. |
path * | string | Path of the new .lila, relative to the cwd of the server process. |
allowUnsimulatable | boolean | Save a model with validation errors as a diagram that does not simulate; the errors come back in `notes`. Default false: refused. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
overwrite | boolean | Replace an existing file. Default false. |
scenarios | array |
get_project Get project
What a .lila holds, read without writing anything: its name, `formatVersion` (2 for a repository of several processes, 1 otherwise) and its `processes`, each with `slug`, `name`, `processId`, `modelRevision`, `elements` (flow nodes), its `scenarios` (entry, name, revision, extends), its stored `runs` (id, scenario, start, replications and `current`: false when the model or the scenario it ran changed after the run; a change in only an `extends` parent does not count) and its extended `attributes` (the definitions `annotate_element` can fill in, with `appliesTo` and `options`; null when the mod…
| Parameter | Type | Description |
|---|---|---|
project * | string | Path to the .lila, relative to the cwd of the server process. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
get_scenario Get scenario
One scenario of a process of a .lila, read without writing anything: as stored (with its `extends`), or with `resolved: true` merged through `extends` with the engine's defaults (the object `patch_scenario` patches). Also `revision`, `runnable` and `notes`: the validator against the process model, errors (E-…) first, then warnings (W-…), the checks `run_simulation` makes; so it works as a scenario lint. Like `lila scenario show --json`.
| Parameter | Type | Description |
|---|---|---|
project * | string | Path to the .lila, relative to the cwd of the server process. |
scenario * | string | A scenario of the process: its file name (with or without .scenario.json) or its "name". |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
resolved | boolean | true: resolved through `extends`, with defaults. Default false: as stored. |
get_process_bpmn Get process BPMN
The BPMN 2.0 XML of one process of a .lila, as stored, read without writing anything: `{ file, process, processId, revision, xml }`. Hand it to another tool, or edit it and write it back with `put_process_bpmn` `mode: "replace"`. Like `lila process export-bpmn`.
| Parameter | Type | Description |
|---|---|---|
project * | string | Path to the .lila, relative to the cwd of the server process. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
put_process_bpmn Put process BPMN
Adds a BPMN model (inline XML, or a path to a .bpmn: a Bizagi export, say) as a new process of an existing .lila (`mode: "add"`, with a default `as-is` scenario), or replaces the model of one of its processes (`mode: "replace"`: its revision goes up, so saved runs go stale; its annotations go with the old model). The model is validated as `create_project` validates it: one with errors is refused unless `allowUnsimulatable`. On replace, scenario entries that no longer apply are removed and listed in `scenarioRemovals`, as `edit_process` does, and a scenario error the old model did not cause ref…
| Parameter | Type | Description |
|---|---|---|
bpmn * | string | BPMN 2.0 XML, or a path to a .bpmn. |
mode * | string | "add" (a new process) or "replace" (the model of an existing one). |
project * | string | Path to the .lila, relative to the cwd of the server process. |
allowUnsimulatable | boolean | Save a model with validation errors as a diagram that does not simulate; the errors come back in `notes`. Default false: refused. |
dryRun | boolean | Report what would change and write nothing. |
layout | boolean | Lay out a model that has no diagram (BPMN DI). Default true. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
name | string | add only: the name of the new process. Default: its pool's, its process's, or the file's. |
process | string | add: the slug of the new process (default: from its name). replace: the process replaced; implicit when the .lila holds one. |
rename_process Rename process
Renames one process of a .lila: sets its `name`, the one its canvas tab shows; its slug never changes. Refused in a project with a single process, whose name is the project's. The same name writes nothing (`written: false`). Atomic and locked like every write; `dryRun` writes nothing. Returns `{ file, dryRun, written, process, before, after, summary, notes }`. Like `lila process rename`.
| Parameter | Type | Description |
|---|---|---|
name * | string | The new name. |
process * | string | Slug of the process, as `get_project` lists it. |
project * | string | Path to the .lila, relative to the cwd of the server process. |
dryRun | boolean | Report what would change and write nothing. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
delete_process Delete process
Deletes one process of a .lila with its scenarios and saved runs, listed in `removedScenarios` and `removedRuns`. Refused for the last process, and for a process that a call activity of another process names in its `calledElement` (the refusal lists them as `slug/elementId (name)`). Down to one process, the project is written as a version 1 archive and its process takes the project's name (`notes` says so; `slugs` lists what is left). Atomic and locked like every write; `dryRun` writes nothing. Like `lila process delete`.
| Parameter | Type | Description |
|---|---|---|
process * | string | Slug of the process, as `get_project` lists it. |
project * | string | Path to the .lila, relative to the cwd of the server process. |
dryRun | boolean | Report what would change and write nothing. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
rename_scenario Rename scenario
Renames one scenario of a process of a .lila: sets its "name"; its entry (file name) stays. Its revision goes up, and so do those of the scenarios that extend it, as in the app, so their saved runs go stale. Refused when another scenario of the process already answers to that name (by its "name" or its file name). The same name writes nothing (`written: false`). Atomic and locked like every write; `dryRun` writes nothing. Returns `{ file, dryRun, written, process, entry, before, after, revision, summary, notes }`. Like `lila scenario rename`.
| Parameter | Type | Description |
|---|---|---|
name * | string | The new name. |
project * | string | Path to the .lila, relative to the cwd of the server process. |
scenario * | string | A scenario of the process: its file name (with or without .scenario.json) or its "name". |
dryRun | boolean | Report what would change and write nothing. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
delete_scenario Delete scenario
Deletes one scenario of a process of a .lila with its saved runs, listed in `removedRuns`. Refused for the last scenario of the process, and for one that other scenarios extend (the refusal lists them). Deleting `as-is.scenario.json` leaves `edit_process` nowhere to store durations; `notes` says so. Atomic and locked like every write; `dryRun` writes nothing. Returns `{ file, dryRun, written, process, entry, removedRuns, summary, notes }`. Like `lila scenario delete`.
| Parameter | Type | Description |
|---|---|---|
project * | string | Path to the .lila, relative to the cwd of the server process. |
scenario * | string | A scenario of the process: its file name (with or without .scenario.json) or its "name". |
dryRun | boolean | Report what would change and write nothing. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |
edit_process Edit process
Applies a list of operations to one process of a .lila, all or none: `add` (a step, as in an outline, `after` a step or `between` two connected steps, or unconnected), `connect` (`default: true` out of an xor/or marks the default flow), `remove` (a step, reconnecting its predecessors to its successor when that is unambiguous, a flow, a boundary event or an artifact; an end event left with no way in goes too), `rename` (a lane also by its name), `setType` (also `end` ↔ `terminate` on an end event), `moveToLane` (with the step's boundary events), `addLane`, `removeLane` (its nodes to `moveStep…
| Parameter | Type | Description |
|---|---|---|
operations * | In order. Each one of: {op:"add", step:{id, name?, type?, lane?, duration?, resources?}, after?:id | between?:[from,to]}; {op:"connect", from, to, label?, probability?, default?, id?}; {op:"remove", i… | |
project * | string | Path to the .lila, relative to the cwd of the server process. |
dryRun | boolean | true: apply and validate in memory, write nothing. |
layout | boolean | Default true: lay the process out again. false: keep positions, place only new shapes. |
locale | string | Language of the texts this call returns. Defaults to the server locale (LILA_LANG). |
process | string | Slug of the process when the .lila holds several; implicit when it holds one. |