add_clear_blackboard_value_node
Adds a Clear Blackboard Value node to reset an Unreal Engine blackboard key to its default state, such as clearing HasHeardSound after investigation completes. Specify the Blueprint and key name.
Instructions
Add a 'Clear Blackboard Value' node (BTTask_ClearBBValue).
Ch.10: Used to reset blackboard keys like HasHeardSound after investigation is complete. Resets the value to its default (false/null/zero).
Args: blueprint_name: Blueprint or BT Task name key_name: Blackboard key to clear node_position: Optional [X, Y] graph position
KB: see knowledge_base/04_AI_SYSTEMS.md#overview Example: add_clear_blackboard_value_node(blueprint_name="/Game/MCP_Test/BP_Example", key_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": {
"blueprint_name": "<blueprint_name>",
"key_name": "<key_name>"
},
"name": "add_clear_blackboard_value_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_name | Yes | ||
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |