set_input_action
Create or update an Input Map action and bind input events, so you can define or change keyboard, mouse, or controller controls for Godot projects.
Instructions
Create or update an input action in the 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": {
"action": "<action>"
},
"name": "set_input_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action name | |
| events | No | Array of input event objects to bind |