preview_track_road_edit
Preview a proposed road edit as a non-writing GeoJSON and element diff without uploading to OSM, so you can review OAuth-bound changes before applying them.
Instructions
Build a non-writing GeoJSON and element diff preview for a road edit. Requires OAuth with write_api: the stored proposal is bound to the verified OSM account and API target before review. Read-only means no OSM upload, not anonymous access. For an OAuth-free geometry view use analyze_gpx_track, create_track_selection and its preview_uri instead. After the user explicitly asks to publish the reviewed proposal, call apply_osm_edit immediately. Do not ask for another chat confirmation: apply_osm_edit itself opens the single required digest-bound confirmation.
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": {
"action": "<action>",
"changeset_comment": "<changeset_comment>",
"changeset_source": "<changeset_source>"
},
"name": "preview_track_road_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| action | Yes | ||
| gpx_xml | No | ||
| gpx_path | No | ||
| segment_id | No | ||
| selection_id | No | ||
| evidence_kind | No | survey_gpx | |
| target_way_ids | No | ||
| changeset_source | Yes | ||
| changeset_comment | Yes | ||
| evidence_provider | No | ||
| evidence_observed_at | No | ||
| simplify_tolerance_m | No | ||
| max_alignment_distance_m | No | ||
| connect_endpoints_to_ways | No | ||
| endpoint_snap_tolerance_m | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |