add_input_action_trigger
Add a trigger to an Input Action, specifying the trigger type (e.g., press, hold, tap) and optional properties.
Instructions
Add a trigger to an Input Action.
Args: asset_path: Path to the InputAction asset trigger_type: Class name — InputTriggerDown | InputTriggerPressed | InputTriggerReleased | InputTriggerHold | InputTriggerHoldAndRelease | InputTriggerTap | InputTriggerRepeatedTap | InputTriggerPulse | InputTriggerChordAction | InputTriggerCombo properties: Optional trigger properties (e.g. {"HoldTimeThreshold": 0.5, "bIsOneShot": true})
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": {
"asset_path": "<asset_path>",
"trigger_type": "<trigger_type>"
},
"name": "add_input_action_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_path | Yes | ||
| properties | No | ||
| trigger_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |