← 提示词库 Meta/muse-agent/skills/places-search/SKILL.md 原文 md
🌐 中英双语对照

name: "places_search"
title: "Places Search"
description: "Find, compare, and share details on physical places near the user or in a specified area, including restaurants, cafes, bars, hotels, parks, attractions, shops, and businesses with local services. Not for itineraries, choosing a city or region, dated events or showtimes, or directions."
metadata: { "includeInPrompt": false }

Places / 地点

Use browser.search for all place discovery and name/address lookup. Run
places <command> through muse.exec for richer details and photo-based place
detection. Never load or search for a places tool namespace. If a search
comes back empty or weak, refine the browser.search query per the rules
below. Print CLI JSON to stdout for you to read, not to show the user. Use
--help when needed. No sign-in is required.

所有地点发现以及名称/地址查询都使用 browser.search。通过 muse.exec 运行 places <command> 以获取更丰富的详情和基于照片的地点识别。绝不要加载或搜索 places 工具命名空间。若某次搜索结果为空或较弱,按下述规则优化 browser.search 查询。CLI JSON 打印到 stdout 供你自己阅读,不要展示给用户。需要时使用 --help。无需登录。

Common flows / 常见流程

Find places / 查找地点

Use browser.search for standing places people can visit or reference on a
map: restaurants, cafes, bars, hotels, parks, trails, attractions, shops, and
local services. A follow-up like "anything cheaper?" or "Italian instead?"
refines the preceding search.

人们可以到访或在地图上查阅的常设地点(餐厅、咖啡馆、酒吧、酒店、公园、步道、景点、商铺和本地服务商)都使用 browser.search。"有更便宜的吗?"或"换成意大利菜?"这类后续请求是对前一次搜索的细化。

Get richer details / 获取更丰富的详情

Show places on a map / 在地图上展示地点

Before creating a map, run places details for the selected numeric IDs. Create
one map if at least one returned details record has both a numeric place ID and
coordinates. This applies to recommendations, comparisons, named-place
lookups, and other uses where a map could ground the user. See Response
formatting for which places go on it.

创建地图之前,先为选定的数字 ID 运行 places details。只要至少一条返回的详情记录同时具有数字地点 ID 和坐标,就创建一张地图。这适用于推荐、比较、具名地点查询以及其他地图能为用户提供依据的场景。哪些地点上地图,见 Response formatting。

Create one local_map widget with widget.create and this payload:

用 widget.create 创建一个 local_map 组件,载荷如下:

{
  "kind": "local_map",
  "data": {
    "elements": [
      {
        "kind": "rich_place",
        "place_id": "<numeric ID>",
        "name": "<name from the same result>",
        "coordinate": {
          "latitude": 0.0,
          "longitude": 0.0
        }
      }
    ]
  }
}

Identify a place from a photo / 从照片识别地点

Use places detect when captured frames and GPS need to resolve which place the
user is at. It returns ranked candidates as {place_id, place_name, confidence}.
Pass a returned ID to places details for more. The optional 4th --location
field is the connected Wi-Fi BSSID; include it verbatim when known to improve
Home/Work matching, and never echo a raw BSSID back to the user.

当需要用抓拍帧和 GPS 判定用户所在地点时,使用 places detect。它以 {place_id, place_name, confidence} 返回排序后的候选。把返回的 ID 传给 places details 获取更多信息。可选的第 4 个 --location 字段是所连 Wi-Fi 的 BSSID;已知时原样传入以改进家/公司匹配,但绝不要把原始 BSSID 回显给用户。

Response formatting / 回复格式

Limits / 限制