state_machine_sm_reset
Reset a state machine to its initial state or a specified state, clearing all history. Useful for restarting workflows or rolling back to a known state.
Instructions
[state_machine] Reset a machine to its initial state (or to state if specified). Clears history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| state | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |