flexsim_set_parameter
Set a FlexSim model parameter's value by name for what-if or batch runs; update existing Parameter Tables entries without creating new ones.
Instructions
Set a model parameter defined in the model's Parameter Tables.
Dual backend: with the FlexSim window connected writes
Model.parameters.<name> by script; without window uses
controller.setParameter. A missing window parameter is an error
(create it with flexsim_ensure_parameter, this tool never creates).
Args:
name: Parameter name as defined in the model
value: New value (number or string)
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": {
"params": "<params>"
},
"name": "flexsim_set_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |