set_state_action
Set the entry, do, or exit action of a state by specifying its ID, action kind, and body content.
Instructions
Set an entry, do, or exit action body on a State. action_kind must be 'entry', 'do', or 'exit'.
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": {
"state_id": "<state_id>",
"action_kind": "<action_kind>",
"body": "<body>"
},
"name": "set_state_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| state_id | Yes | ||
| action_kind | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||