osm_update_element
Replace an OpenStreetMap element's tags and geometry in a full update; first read the element and resend all fields, including unchanged tags.
Instructions
Replace an element's tags and geometry. This is a full replace, not a patch: first read the element with osm_get_element, change what you need, and send back everything including unchanged tags. Returns the new version. Edits are public and attributed to the authenticated OSM user. Follow the OSM editing guidelines; use OSM_ENV=dev to practise on the sandbox server.
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": {
"changeset_id": "<changeset_id>",
"element": "<element>"
},
"name": "osm_update_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element | Yes | ||
| changeset_id | Yes |