create_model
Create a new empty LSD model folder with required template files, then add objects, parameters, variables, equations, and configurations to compile and run simulations.
Instructions
Create a new, empty model folder in the models folder, as LSD's model
manager (LMM) does: equation file fun_.cpp from LSD's template,
model_options.txt, modelinfo.txt (LMM lists a folder only with it),
description.txt, and a configuration Sim1.lsd holding only Root. name is
the folder (letters, digits, underscores; it must not exist or lie inside
another model). Then use edit_structure to add objects, parameters and
variables, write_equations for the equations, set_saved if needed, and
run_configuration. An empty model compiles and runs (it computes nothing
and saves nothing).
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": {
"name": "<name>"
},
"name": "create_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| title | No | ||
| description | No |