search_nearby
Find nearby points of interest by entering coordinates and search terms to discover restaurants, shops, and services within a specified radius.
Instructions
根据经纬度和关键词进行周边搜索,返回指定半径内的 POI 列表。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | 中心点经纬度,格式为 'lng,lat',如 '116.397128,39.916527' | |
| keywords | No | 搜索关键词,例如: '餐厅'。 | |
| types | No | POI 分类码,多个分类用逗号分隔 | |
| radius | No | 搜索半径(米),最大50000 | |
| page_num | No | 页码,从1开始 | |
| page_size | No | 每页数量,最大25 |
Input Schema (JSON Schema)
{
"properties": {
"keywords": {
"default": "",
"description": "搜索关键词,例如: '餐厅'。",
"minLength": 0,
"title": "Keywords",
"type": "string"
},
"location": {
"description": "中心点经纬度,格式为 'lng,lat',如 '116.397128,39.916527'",
"title": "Location",
"type": "string"
},
"page_num": {
"default": 1,
"description": "页码,从1开始",
"minimum": 1,
"title": "Page Num",
"type": "integer"
},
"page_size": {
"default": 20,
"description": "每页数量,最大25",
"maximum": 25,
"minimum": 1,
"title": "Page Size",
"type": "integer"
},
"radius": {
"default": 1000,
"description": "搜索半径(米),最大50000",
"maximum": 50000,
"minimum": 0,
"title": "Radius",
"type": "integer"
},
"types": {
"default": "",
"description": "POI 分类码,多个分类用逗号分隔",
"title": "Types",
"type": "string"
}
},
"required": [
"location"
],
"type": "object"
}