get_osm_relation
Retrieve OpenStreetMap relation details by ID, including members and tags, to inspect or edit relation data.
Instructions
Get an OSM relation by ID.
Args: relation_id: The ID of the relation to retrieve
Returns: Dictionary containing relation data including members and tags
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": {
"relation_id": "<relation_id>"
},
"name": "get_osm_relation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |