maestro/docs/tools/searchplaces.md
clade 7049a874f3 feat: initial public release (MAESTRO v0.1.0)
Open-source release of MAESTRO, an agent orchestration platform that runs
LLM-driven tasks through sandboxed tools, with a web UI. Apache-2.0.
See README.md and docs/ (getting-started, configuration, architecture).
2026-06-03 04:01:14 +00:00

50 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 地図ツールSearchPlaces / GetDirections / ReverseGeocode
地名・住所・経路情報を扱う。Google Maps API キーがあればそちら、無ければ Nominatim/OSRM無料を使用。
## SearchPlaces — 場所検索
```js
SearchPlaces({
query: "東京駅 ラーメン",
location: "35.6812,139.7671", // 任意: 中心座標
limit: 5
})
// → 名称・住所・座標・評価API キーがあれば)等
```
## GetDirections — 経路検索
```js
GetDirections({
origin: "東京駅",
destination: "羽田空港",
mode: "driving" // driving / walking / transit / bicycling
})
// → 距離・所要時間・経路ステップ
```
## ReverseGeocode — 座標から住所
```js
ReverseGeocode({
lat: 35.6812,
lng: 139.7671
})
// → 住所文字列
```
## API 設定
Settings UI の "Tools" セクション:
- **Google Maps API Key**: 設定すると Google Places/Directions API を使用(高精度・有料)
- 未設定: Nominatim住所検索、OSRM経路の無料 API を使用
Google Maps API は精度・情報量が多いが、ビジネス要件・無料枠の制約に注意。
## 用途
- 出張・旅程の経路情報
- 店舗・施設の所在確認
- ジオデータの正規化