preview_bus_route_master
Preview grouping independently checked PTv2 bus directions or line variants into one master relation, validating terminals, tags, and existing master IDs before upload.
Instructions
Review grouping independently checked PTv2 bus directions or variants of one line. Supply existing direction relation IDs in the desired member order and the source confirming they belong together. Inspect terminals, tags and existing master IDs. An eligible preview with prepare_upload=true can be applied using apply_osm_edit.
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": {
"route_relation_ids": "<route_relation_ids>",
"source": "<source>"
},
"name": "preview_bus_route_master"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| source | Yes | ||
| source_basis | No | unconfirmed | |
| prepare_upload | No | ||
| route_relation_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||