set_input_action
Defines or updates an input action with custom event mappings and deadzone.
Instructions
Add or modify an input action and its event mappings
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": {
"action": "<action>",
"events": "<events>"
},
"name": "set_input_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action name | |
| events | Yes | List of input events to map to this action | |
| deadzone | No | Input deadzone value (0-1, default: 0.5) |