add_input_action
Add a new input action to the Godot project, specifying its name, deadzone, and key/button events.
Instructions
Add a new input action with optional deadzone and 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": "add_input_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action name (e.g. 'jump', 'move_left') | |
| events | Yes | Array of input events to map | |
| deadzone | No | Deadzone value (0-1, default 0.5) |