state_machine_sm_create
Create a named state machine by specifying its name, initial state, and valid states. Use to model system behavior or workflows, then add transitions.
Instructions
[state_machine] Create a named state machine with an initial state. states: list of all valid state names. Then add allowed transitions with sm_add_transition.
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>",
"initial": "<initial>"
},
"name": "state_machine_sm_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| initial | Yes | ||
| states | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |