state_machine_sm_can
Check if a transition to a specified state is currently allowed in a state machine. Returns whether the transition is permitted.
Instructions
[state_machine] Check if a transition to to_state is currently allowed. Returns {allowed: bool}.
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>",
"to_state": "<to_state>"
},
"name": "state_machine_sm_can"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| to_state | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |