set_key_mapping
Change the key or action on an existing mapping in an Input Mapping Context by specifying the asset path and mapping index.
Instructions
Change the key or action on an existing mapping in an IMC.
Args: context_path: Path to the IMC asset index: Mapping index to modify key: New key name (optional) action_path: New action path (optional)
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_path": "<context_path>",
"index": "<index>"
},
"name": "set_key_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| index | Yes | ||
| action_path | No | ||
| context_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |