複数の駅・路線の位置情報をファイルへ書き出し
save_railway_geometries_to_fileWrites multiple railway geometries from addresses to a local GeoJSON file, avoiding response-size limits and including CC BY-SA 4.0 attribution. Use for bulk exports, not for immediate map rendering.
Instructions
get_railway_geometries と同じ複数取得だが、結果を会話に含めずローカルファイルへ直接書き出す。応答サイズの上限を回避できる。出典・ライセンス(CC BY-SA 4.0)を出力に明記する。地図をその場で描く依頼には使わない(中身が会話に返らないため)。
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>",
"outputPath": "<outputPath>"
},
"name": "save_railway_geometries_to_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| simplify | No | ラインの座標点数を間引くレベル(既定 'none')。ファイル書き出しなので応答サイズ制限は無いが、ファイルサイズや後段ツールの負荷を抑えたいときに指定する。 | |
| addresses | Yes | エンティティのラベル or URI の配列(最大50件)。解決ルールは get_railway_geometry と共通。全事業者/全路線のように多い一覧は list_railway_operators / list_railway_children の結果を渡すこと。 | |
| outputPath | Yes | 書き出し先のファイルパス(相対パスはサーバープロセスのカレントディレクトリ基準、絶対パスも可)。GeoJSON として扱えるよう `.geojson` を推奨。親ディレクトリは自動作成。既存ファイルは上書き。 |