perception_configure_hearing
Set up or update hearing perception on Unreal Engine AI components. Define hearing range and choose which actor types (enemies, neutrals, friendlies) are detected.
Instructions
Add or update the Hearing sense config on an AIPerceptionComponent.
KB: see knowledge_base/04_AI_SYSTEMS.md#overview Example: perception_configure_hearing(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_configure_hearing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| dominant | No | ||
| hearing_range | No | ||
| blueprint_name | Yes | ||
| component_name | No | AIPerception | |
| detect_enemies | No | ||
| detect_neutrals | No | ||
| detect_friendlies | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |