run
Launch Serpent 2 calculations as non-blocking background jobs and return a job ID. Validate input first for safety, or skip validation with force=true.
Instructions
Start a Serpent calculation as a background job and return its job id (long runs must not block). By default the input is statically validated first; pass force=true to skip. options: extra CLI flags, e.g. ['--noplot']. omp/mpi_tasks are convenience shortcuts.
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": {
"input": "<input>"
},
"name": "run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| omp | No | ||
| force | No | ||
| input | Yes | ||
| backend | No | ||
| options | No | ||
| workdir | No | ||
| mpi_tasks | No | ||
| validate_first | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |