lingo_run_commands
Run custom LINGO command-window commands against a loaded model and return raw output. Use it for analyses the structured solver does not cover.
Instructions
Run an arbitrary sequence of LINGO command-window commands against a model and return the raw output. Use this for analyses the structured solver does not cover, e.g. ["GO", "RANGE 1", "PICTURE 1"]. Commands run after the model is loaded.
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": {
"commands": "<commands>"
},
"name": "lingo_run_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | LINGO model source. | |
| commands | Yes | LINGO commands, e.g. ["GO", "SOLU", "RANGE 1", "DUAL 1"]. | |
| file_path | No | Path to a LINGO model file to load instead. | |
| timeout_ms | No |