state_machine_sm_add_transition
Add a named transition between two states in a state machine, specifying the source and target states to control allowed state changes.
Instructions
[state_machine] Define an allowed transition from one state to another.
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>",
"from_state": "<from_state>",
"to_state": "<to_state>"
},
"name": "state_machine_sm_add_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| from_state | Yes | ||
| to_state | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |