input_mapping_add
Add an action or axis mapping to Unreal Engine project input settings (Config/DefaultInput.ini) by specifying the mapping name, key (e.g., W, SpaceBar), and optional modifiers.
Instructions
Add an action or axis mapping to project input settings (saved to Config/DefaultInput.ini). Key names use FKey string form: W, SpaceBar, LeftMouseButton, MouseX, Gamepad_LeftTrigger, ...
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": {
"kind": "<kind>",
"name": "<name>",
"key": "<key>"
},
"name": "input_mapping_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | ||
| cmd | No | ||
| key | Yes | FKey name. | |
| ctrl | No | ||
| kind | Yes | ||
| name | Yes | Action or axis name, e.g. Jump, MoveForward. | |
| scale | No | Axis scale (axis only), default 1.0. | |
| shift | No |