create_input_action
Adds a new input action to the Godot project's input map, binding specified keys (e.g., "A", "Left") for actions like move_left or jump.
Instructions
Add an input action to the project.godot input map
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": {
"projectPath": "<projectPath>",
"actionName": "<actionName>",
"keys": "<keys>"
},
"name": "create_input_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | ||
| actionName | Yes | Name of the input action (e.g. move_left, jump) | |
| keys | Yes | Key names to bind (e.g. ["A", "Left"]) |