study_solve_async
Start a background COMSOL study solve and return a job ID immediately; poll status or wait for completion, then access the saved model and solve log.
Instructions
Start a background solve job and return immediately with a job_id.
Poll progress with job_status / study_solve_wait / job_wait.
The job solves one study or a list of studies sequentially; the saved
model (.mph) and a JSON solve log are attached as job artifacts.
Cancellation is cooperative (job_cancel): it is honored between
studies/steps; a single monolithic COMSOL solve cannot be interrupted
(use session_kill as the hard-stop escape hatch).
Args:
study: one study tag to solve (None = all studies of the model).
studies: list of study tags to solve sequentially (alternative to
study; use it to get cancellation between parameter points).
generate_plots: generate default plot groups after each solve.
save_model: save the model to <artifacts>/.../<model>.mph and
attach it to the job (default true).
model: model name/tag (None = current model).
Example: job = study_solve_async(study="std_time") # then: study_solve_wait(job["job_id"], timeout_s=180)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "study_solve_async"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| study | No | ||
| studies | No | ||
| save_model | No | ||
| generate_plots | No |