run_sweep
Runs a parameter study by cloning a simulation case for each value of a chosen path, launching background jobs sequentially, with optional mesh convergence checks. Poll jobs, then compare results.
Instructions
Parameter study: one clone of the case per value of path (e.g. path="boundaries.f5.force",
values=["100 N", "200 N", "400 N"]; or materials.solid.preset, mesh.size, boundaries.f2.speed), each started as a
background job (they run one after another). study="convergence" runs a mesh study for each, so every variant gets
a mesh convergence check. Up to 8 values. Poll each job_id with job_status, then compare_runs on the case_ids.
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": {
"case_id": "<case_id>",
"path": "<path>",
"values": "<values>"
},
"name": "run_sweep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| path | Yes | ||
| study | No | single | |
| values | Yes | ||
| case_id | Yes | ||
| language | No | ja |