set_initial_state
Sets a state machine's initial state by machine and state IDs so animations begin from the intended state.
Instructions
Set which state a state machine starts in.
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": {
"smId": "<smId>",
"stateId": "<stateId>"
},
"name": "set_initial_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| smId | Yes | State machine id | |
| stateId | Yes | State id to start in | |
| requestId | No | ||
| sessionId | No | ||
| expectedRevision | No |