run_prepare
Freezes a Slurm execution intent, inputs, environment, and rules, returning a revision for the next mutation so changed validation or stage cannot silently reuse an old run binding.
Instructions
Freeze a Slurm execution intent, input, environment and rules. Returns revision for the next mutation. Exact repetition reuses the same run; changed validation_id/stage never silently returns an old binding. To replace a confirmed unsubmitted prepared/cancelled/staging_failed run, use a new intent and supersedes=old run_id, retaining the sample_id. Submitted/unknown runs must be reconciled first. Native entry is a project-relative shell script; read lammps_reference before generation. Literal -in/-i inputs are reviewed before dispatch.
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": {
"task_id": "<task_id>",
"revision": "<revision>",
"snapshot_id": "<snapshot_id>",
"entry": "<entry>",
"intent": "<intent>",
"condition_id": "<condition_id>",
"sample_id": "<sample_id>",
"op_id": "<op_id>"
},
"name": "run_prepare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | Yes | ||
| op_id | Yes | ||
| stage | No | production | |
| token | No | ||
| intent | Yes | ||
| purpose | No | research | |
| task_id | Yes | ||
| revision | Yes | ||
| parent_id | No | ||
| sample_id | Yes | ||
| supersedes | No | ||
| snapshot_id | Yes | ||
| condition_id | Yes | ||
| validation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |