用途:通过 OpenTable CLI 查找餐厅、查询实时可用桌位,并完成预订、修改、取消或查询预订。
主要能力:lookup-rid 按名称、城市、菜系或价位查找餐厅;search-availability 查询指定时间和人数的可用时段;book-reservation 一步锁定并预订;modify-reservation-with-lock 改期;cancel-reservation 和 get-reservation 按确认号取消或查询;list-experiences 与 search-availability --include-experiences true 用于体验类预订,再用 book-reservation --experience-json(含体验 id 和版本)下单。
使用方式:首次使用需在对话内完成一次性授权,先运行 opentable status;若未连接,按其返回的 connect_url 引导连接,不要自行编造链接。订餐前需先读取 /opt/hatch/skills/booking/SKILL.md、/opt/hatch/skills/booking/references/restaurants.md 和 /opt/hatch/skills/booking/references/presentation.md。更多命令用 opentable --help,具体参数用 opentable <command> --help。断开连接用 opentable disconnect。
限制:一次只能发起一个 OpenTable 调用,不得批量、并行、后台运行或放入循环/重试封装。遇到 HTTP 429 或被限流须停止调用并报告部分结果,绝不重试预订、改期或取消。只能预订 1 至 20 人,人数更多需直接联系餐厅,不得拆单。无法预订需要银行卡、押金或预付款的时段,此类情况改用浏览器流程。未由本代理创建的预订可能无法通过相关命令访问。只有命令明确返回确认时才可报告预订成功,确认号本身不构成证明;不得编造确认或链接。时区、价格、平台覆盖等未在资料中说明的信息暂未提供。