osm_get_elements
Retrieve multiple current OpenStreetMap elements of one type in a single request by supplying their IDs, reducing repeated calls when reading map data.
Instructions
Read several elements of one type in a single call (current versions).
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>",
"ids": "<ids>"
},
"name": "osm_get_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| type | Yes |