Get outputs
get_outputsRead current output variable values for an OpenMDAO problem and optionally convert them to specified units. Use it to inspect model results by variable name.
Instructions
Read current values of variables, optionally converted to given units.
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>",
"names": "<names>"
},
"name": "get_outputs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | Promoted names of outputs to return. | |
| units | No | Units per variable name, e.g. {'mass': 'kg'}. | |
| problem_id | Yes | ||
| allow_missing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| values | No | ||
| missing | No |