Skip to content

Commit 69146ec

Browse files
cablateclaude
andcommitted
docs: update skill docs and READMEs for maxPhotos param
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 83ae101 commit 69146ec

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Special thanks to [@junyinnnn](https://github.com/junyinnnn) for helping add sup
6565
|------|-------------|
6666
| `maps_search_nearby` | Find places near a location by type (restaurant, cafe, hotel, etc.). Supports filtering by radius, rating, and open status. |
6767
| `maps_search_places` | Free-text place search (e.g., "sushi restaurants in Tokyo"). Supports location bias, rating, open-now filters. |
68-
| `maps_place_details` | Get full details for a place by its place_id — reviews, phone, website, hours, photos. |
68+
| `maps_place_details` | Get full details for a place by its place_id — reviews, phone, website, hours. Optional `maxPhotos` param returns photo URLs. |
6969
| `maps_geocode` | Convert an address or landmark name into GPS coordinates. |
7070
| `maps_reverse_geocode` | Convert GPS coordinates into a street address. |
7171
| `maps_distance_matrix` | Calculate travel distances and times between multiple origins and destinations. |

README.zh-TW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ npx @cablate/mcp-google-map --port 3000 --apikey "YOUR_API_KEY"
6565
|------|------|
6666
| `maps_search_nearby` | 依類型搜尋附近地點(餐廳、咖啡廳、飯店等),支援半徑、評分、營業中篩選 |
6767
| `maps_search_places` | 自然語言地點搜尋(如「東京拉麵」),支援位置偏好、評分、營業中篩選 |
68-
| `maps_place_details` | 以 place_id 取得地點完整資訊 — 評論、電話、網站、營業時間、照片 |
68+
| `maps_place_details` | 以 place_id 取得地點完整資訊 — 評論、電話、網站、營業時間。可選 `maxPhotos` 參數取得照片 URL。 |
6969
| `maps_geocode` | 將地址或地標名稱轉換為 GPS 座標 |
7070
| `maps_reverse_geocode` | 將 GPS 座標轉換為街道地址 |
7171
| `maps_distance_matrix` | 計算多個起點與終點間的旅行距離和時間 |

skills/google-maps/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Without this Skill, the agent can only guess or refuse when asked "how do I get
4444
| `maps_reverse_geocode` | Have coordinates, need an address | "What's at 35.65, 139.74?" |
4545
| `maps_search_nearby` | Know a location, find nearby places by type | "Coffee shops near my hotel" |
4646
| `maps_search_places` | Natural language place search | "Best ramen in Tokyo" |
47-
| `maps_place_details` | Have a place_id, need full info | "Opening hours and reviews for this restaurant?" |
47+
| `maps_place_details` | Have a place_id, need full info (+ optional photo URLs via `maxPhotos`) | "Opening hours and reviews for this restaurant?" |
4848
| `maps_batch_geocode` | Geocode multiple addresses at once (max 50) | "Get coordinates for all these offices" |
4949

5050
### Routing & Distance

skills/google-maps/references/tools-api.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,17 @@ Response: `{ success, data: [{ name, place_id, address, location, rating, total_
122122

123123
## maps_place_details
124124

125-
Get full details for a place by its place_id (from search results). Returns reviews, phone, website, hours, photos.
125+
Get full details for a place by its place_id (from search results). Returns reviews, phone, website, hours. Set `maxPhotos` to include photo URLs (default: 0 = no photos, saves tokens).
126126

127127
```bash
128128
exec maps_place_details '{"placeId": "ChIJCewJkL2LGGAR3Qmk0vCTGkg"}'
129+
exec maps_place_details '{"placeId": "ChIJCewJkL2LGGAR3Qmk0vCTGkg", "maxPhotos": 3}'
129130
```
130131

131132
| Param | Type | Required | Description |
132133
|-------|------|----------|-------------|
133134
| placeId | string | yes | Google Maps place ID (from search results) |
135+
| maxPhotos | number | no | Number of photo URLs to include (0-10, default 0). Always returns `photo_count`. |
134136

135137
---
136138

0 commit comments

Comments
 (0)