write_input_action
Create a new input action in Godot by providing a name and optional deadzone, enabling custom analog controls.
Instructions
Create a new input 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": {
"action": "<action>"
},
"name": "write_input_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Input action name (e.g. "jump", "move_left") | |
| deadzone | No | Deadzone for analog inputs (0-1) |