spine_add_event
Creates a named animation event with setup-pose payload values and optional audio so Spine animations can trigger it.
Instructions
Define a named event (setup-pose values) that animations can trigger.
Args: int_value: Integer payload. float_value: Float payload. string: String payload. audio: Audio path played by the event. volume: Audio volume (default 1). balance: Stereo balance, -1..1 (default 0).
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": {
"project": "<project>",
"name": "<name>"
},
"name": "spine_add_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| audio | No | ||
| string | No | ||
| volume | No | ||
| balance | No | ||
| project | Yes | ||
| int_value | No | ||
| float_value | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |