run_simulation
Starts a simulation as a background job and returns results with gates if completed within about 20 seconds; otherwise returns a job ID to poll for status. Supports preview and final solver modes.
Instructions
Start the solver as a background job. Waits up to ~20 s: if finished, returns results and gates; otherwise returns job_id - then call job_status, which waits for the job. preview = built-in solver, final = CalculiX/OpenFOAM when offered by the template. Electrostatics and DC/Joule always use the built-in FEM.
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>"
},
"name": "run_simulation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| case_id | Yes | ||
| language | No | ja |