Compute totals
compute_totalsComputes total derivatives of selected OpenMDAO outputs with respect to chosen inputs at the current point, running the model first when needed.
Instructions
Total derivatives of 'of' with respect to 'wrt' at the current point (runs the model first).
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>",
"of": "<of>",
"wrt": "<wrt>"
},
"name": "compute_totals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| of | Yes | ||
| wrt | Yes | ||
| problem_id | Yes | ||
| return_format | No | by_pair |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| jacobian | No | ||
| messages | No | ||
| captured_output | No |