validate_process_definition
Validates a process definition before publishing: checks structure, execution rules, and tenant ownership of referenced agents, approval policies, and MCP servers. Returns errors with paths, reasons.
Instructions
Validate a process definition without saving: structure, execution rules and tenant ownership of referenced agents, approval policies and MCP servers. Returns errors with paths and reasons. Run before publishing.
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": "validate_process_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | Complete process definition, including key, title, description, variables_schema and steps |