Find what uses an item
find_relatedFind which automations, scripts, scenes, groups, devices, and areas reference an entity, device, area, floor, label, automation, script, or scene before renaming, disabling, or deleting it.
Instructions
Impact analysis. Shows which automations, scripts, scenes, groups, devices and areas reference an entity, device, area, floor, label, automation, script or scene (search/related). Use before renaming, disabling or deleting.
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": {
"item_type": "<item_type>",
"item_id": "<item_id>"
},
"name": "find_related"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | The id: entity_id, device id, area_id, automation entity id and so on. | |
| item_type | Yes |