workflow-transition
Is this state transition allowed by the caller's workflow definition, and what is allowed instead? — Given a caller-supplied state machine (transitions with optional event names and required facts), the current state and a requested event or target state, says whether the transition is allowed, which required facts are false or unknown, and which transitions are available from the current state. For an agent about to move an order, ticket, deployment or approval to its next state. Terminal states
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": {
"transitions": "<transitions>",
"current": "<current>",
"request": "<request>"
},
"name": "workflow-transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| facts | No | ||
| current | Yes | ||
| request | Yes | Give event, to, or both. | |
| terminal | No | States with no outgoing transitions allowed even if listed. | |
| transitions | Yes |