add_map_keys_node
Adds a Blueprint node to copy all keys from a map variable into an array, enabling iteration over each map entry.
Instructions
Add a Map KEYS node - copy all Map keys to an Array.
From Ch. 13: Returns an array of all keys in the map. Used to iterate over all entries in the map.
Args: blueprint_name: Blueprint to add the node to map_variable: Map variable name node_position: [X, Y] graph position
KB: see knowledge_base/07_DATA_STRUCTURES.md#overview Example: add_map_keys_node(blueprint_name="/Game/MCP_Test/BP_Example", map_variable="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": {
"blueprint_name": "<blueprint_name>",
"map_variable": "<map_variable>"
},
"name": "add_map_keys_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_variable | Yes | ||
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |