create_workflow
Create an admin workflow with statuses, steps, and transitions; omit queue to make it common to all queues and attach issue types via resolutions.
Instructions
Create a workflow (admin): statuses/steps plus transitions. Omit "queue" to create a common workflow available to all queues. Attach issue types via issueTypeResolutions.
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": {
"name": "<name>",
"initialAction": "<initialAction>",
"steps": "<steps>"
},
"name": "create_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Custom workflow id (auto "W…" if omitted) | |
| name | Yes | ||
| type | No | "VISUAL" | |
| queue | No | Bind to one queue; omit for a common workflow | |
| steps | Yes | ||
| initialAction | Yes | Initial transition: {"name": {"ru": "Открыть"}, "target": "open"} | |
| issueTypeResolutions | No | Allowed resolutions per issue type |