osm_element_parents
Find parent relations containing an element or ways containing a node. Identify what uses a given OSM node, way, or relation before editing or deleting it.
Instructions
Find what uses an element: relations containing any element, or ways containing a node.
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": {
"type": "<type>",
"id": "<id>"
},
"name": "osm_element_parents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| type | Yes | ||
| parent | No | 'ways' is only valid for nodes | relations |