publish_process_definition
Publishes the next version of a process definition so new instances use it while existing instances keep their original version; validate the definition before publishing.
Instructions
Publish the next version of a process definition. New instances use it; existing instances retain their original version. Validate first. Worker request recipes belong to the definition; agents select among its allowed recipes.
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": {
"spec": "<spec>"
},
"name": "publish_process_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | Complete process definition without version; the platform assigns the next version |