create_input_mapping_context
Create reusable Unreal Engine Input Mapping Context assets by specifying action-key pairs, enabling organized input bindings for Enhanced Input.
Instructions
Create an Input Mapping Context for Enhanced Input system.
Args: context_name: Name of the IMC asset mappings: List of dicts with 'action' and 'key' fields path: Content browser path
Example mappings: [{"action": "IA_Jump", "key": "SpaceBar"}, {"action": "IA_Move", "key": "W"}]
KB: see knowledge_base/15_INPUT_SYSTEM_AND_UMG.md#overview Example: create_input_mapping_context(context_name="ExampleName")
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": {
"context_name": "<context_name>"
},
"name": "create_input_mapping_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | /Game/Input | |
| mappings | No | ||
| context_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |