複数の駅・路線の位置情報をまとめて取得(地図化はこちら)
get_railway_geometriesRetrieve up to 50 railway stations or lines by label or URI and return them as one GeoJSON FeatureCollection, excluding unresolved items and noting them separately.
Instructions
複数の駅・路線をまとめて取得し、1 つの GeoJSON FeatureCollection として返す(最大 50 件)。路線網や駅群を地図に表示する場合はこれを使う。一部が解決できなくても全体は失敗にせず、features から除外して unresolved として注記する。
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": {
"addresses": "<addresses>"
},
"name": "get_railway_geometries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| simplify | No | ラインの座標点数を間引くレベル(既定 'none')。全 feature をまとめてトポロジー(共有頂点)を保持したまま簡略化する。長大路線を多数まとめるときに 'low'/'medium' を検討。'high' は形状の崩れが大きい。 | |
| addresses | Yes | エンティティのラベル or URI の配列(最大50件)。解決ルールは get_railway_geometry と共通。路線網や駅群を地図に表示するときに使う。一部が解決できなくても全体は失敗にせず、features から除外して unresolved として注記する。 |