perception_add_component
Add or find an AIPerceptionComponent on a Blueprint to enable AI controllers to sense actors and feed Blackboard/Behavior Tree state.
Instructions
Add or find an AIPerceptionComponent on a Blueprint.
This is usually placed on an AIController Blueprint so the controller can sense actors and feed Blackboard/Behavior Tree state.
KB: see knowledge_base/04_AI_SYSTEMS.md#overview Example: perception_add_component(blueprint_name="/Game/MCP_Test/BP_Example")
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>"
},
"name": "perception_add_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| compile | No | ||
| blueprint_name | Yes | ||
| component_name | No | AIPerception |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |