osm_upload_diff
Apply creates, modifies, and deletes atomically in one OSM changeset, using negative placeholder IDs for new elements and returning mappings to real IDs.
Instructions
Apply many creates/modifies/deletes atomically in one request (osmChange). Use negative ids for new elements and reference them from ways/relations in the same diff; the result maps placeholder ids to real ones. Order: creates, then modifies, then deletes. 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>"
},
"name": "osm_upload_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| create | No | ||
| delete | No | ||
| modify | No | ||
| changeset_id | Yes |