Create problem
create_problemBuild an OpenMDAO problem from a declarative ProblemSpec covering components, groups, solvers, variables, objective, constraints, and driver, then persist it as problem_spec.json.
Instructions
Build an OpenMDAO problem from a declarative ProblemSpec (components, nested groups, solvers, design variables, objective, constraints, driver) and persist it as problem_spec.json.
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": {
"spec": "<spec>"
},
"name": "create_problem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| run_setup | No | ||
| problem_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| error | No | ||
| inputs | No | ||
| status | No | ||
| outputs | No | ||
| workdir | No | ||
| warnings | No | ||
| objective | No | ||
| problem_id | No | ||
| constraints | No | ||
| design_vars | No | ||
| n_subsystems | No | ||
| captured_output | No |