workflow_register
Register ordered native-script workflows with run and analysis stages, stage dependencies, and specs so agents can define and execute materials simulation pipelines.
Instructions
Register an ordered native-script workflow. Each stage has id, kind (run/analysis), after IDs and spec. Run spec has run_id; analysis spec has script, inputs, outputs.
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>",
"stages": "<stages>",
"op_id": "<op_id>"
},
"name": "workflow_register"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op_id | Yes | ||
| token | No | ||
| stages | Yes | ||
| task_id | Yes | ||
| revision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |