simulate_in_vensim
Runs a simulation in installed Vensim and saves a .vdfx run file beside the model, giving Graph and Table tools loaded results to inspect.
Instructions
Simulate inside the installed Vensim so its Graph and Table tools have a loaded run.
Saves <run_name>.vdfx next to the model. On macOS (PLE, PLE Plus, Professional) this drives Vensim's Simulation Control dialog and needs a one-time Accessibility permission for the app running this server; the error explains how to grant it. Vensim DSS uses a command script. Vensim comes forward for about half a second to set up the run, then focus returns to the person's app while it finishes in the background.
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_path": "<model_path>"
},
"name": "simulate_in_vensim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| run_name | No | current | |
| overwrite | No | ||
| model_path | Yes |