Set inputs
set_inputsSets input values for an OpenMDAO problem, optionally in specified units, without saving them to the spec.
Instructions
Set input values, optionally in given units. Values set here are not persisted to the spec.
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": {
"problem_id": "<problem_id>",
"values": "<values>"
},
"name": "set_inputs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | Units per variable name, e.g. {'mass': 'kg'}. | |
| values | Yes | Values keyed by promoted variable name. | |
| problem_id | Yes | ||
| allow_missing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| skipped | No | ||
| updated | No |