compile_model
Compile a model's equation file into a headless LSD simulation program, returning build status and time or compiler errors, skipping rebuilds when the file is unchanged.
Instructions
Compile the model's equation file into a headless LSD program (built into the cache, not the model folder). Returns ok and build time, or the first compiler errors as file:line: message. Nothing is rebuilt if the equation file is unchanged.
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": {
"model": "<model>"
},
"name": "compile_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | models | |
| model | Yes |