Update problem
update_problemReplace an existing problem's specification and rebuild it; if the new spec fails, the original problem is preserved.
Instructions
Replace a problem's spec and rebuild it. The old problem is kept if the new spec fails to build.
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>",
"spec": "<spec>"
},
"name": "update_problem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| problem_id | Yes |
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 |