Trigger a state machine event
trigger_eventTrigger state transitions in a live state machine by sending events like cat.forceTransition or pomodoro.start, enabling automated QA testing.
Instructions
Sends an event to the live state machine. Valid eventNames: "cat.forceTransition" (payload: { state: CatState }), "pomodoro.start" (payload?: { minutes }), "pomodoro.tick" (payload?: { dtSeconds }), "pomodoro.resume", "pomodoro.cancel". Call get_available_transitions first to see what's valid from the current state — invalid states/events are rejected with a clear error.
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": {
"eventName": "<eventName>"
},
"name": "trigger_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | No | event-specific payload, if the event needs one | |
| eventName | Yes | e.g. "cat.forceTransition", "pomodoro.start" |