sb_event
Assign a click action to a UI element to open a cart, navigate to a page, or show a pop-up. For purchases, use the bind action.
Instructions
Give a node a click action — open the cart, go to a page, open a pop-up. A purchase is not one: use sb_bind action.
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": {
"id": "<id>",
"action": "<action>"
},
"name": "sb_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| force | No | Override a render-inference guard; reported as forced | |
| action | Yes | An action this element allows, or "none" to clear. A wrong one is refused with the list | |
| dry_run | No | ||
| payload | No | ||
| trigger | No | Default "click" |