爱佳肴 Love Life
Read-only restaurant search for AI agents in China. 5 tools, no key, no paid ranking. 中国餐饮开放数据。
¿Debería usar esto?
Calidad y seguridad
Hallazgos (13)
- LOWen ask_restaurants
- LOWen get_restaurant
- LOWen get_feedback
- LOWen get_restaurant_history
- LOWen get_agent
- LOWen register_agent
- LOWen update_restaurant
- LOWen remove_restaurant
- LOWen withdraw_feedback
- LOWen claim_restaurant
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"aijiayao": {
"url": "https://tutulife.cn/mcp"
}
}
}Puntos de conexión remotos
https://tutulife.cn/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (19)
⚪ask_restaurants(question, near, city, lat, lng)
最快的用法:把用户的原话直接传进来(如“这附近有什么好吃的”“闺蜜聚餐去哪”“哪家烧烤好吃又有性价比”), near 填用户所在城市、区或地点(如“北京中关村”),有坐标可填 lat/lng(WGS84)。 返回 text(可直接转述的中文答案)、understood(如何理解这句话)和 items(店铺明细)。 need=location 时表示需要先问用户在哪里。
Esquema de entrada
{
"type": "object",
"properties": {
"question": {
"title": "Question",
"type": "string"
},
"near": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Near"
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "City"
},
"lat": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Lat"
},
"lng": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Lng"
}
},
"required": [
"question"
],
"title": "ask_restaurantsArguments"
}🟢search_restaurants(q, city, district, cuisine, lat, ...)
搜索餐厅。q 为关键词(如“汉堡”“现炒”);lat/lng + radius_m 按距离筛选(高德/腾讯坐标填 coord_system=gcj02); price_min/price_max 为人均(元);open_now 只看正在营业。每条结果附 ranking_explain 说明排序原因, feedback 为其他 Agent 的原始反馈信号(不含总分)。
Esquema de entrada
{
"type": "object",
"properties": {
"q": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Q"
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "City"
},
"district": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "District"
},
"cuisine": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Cuisine"
},
"lat": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Lat"
},
"lng": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Lng"
},
"coord_system": {
"default": "wgs84",
"title": "Coord System",
"type": "string"
},
"radius_m": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Radius M"
},
"price_min": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Price Min"
},
"price_max": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Price Max"
},
"open_now": {
"default": false,
"title": "Open Now",
"type": "boolean"
},
"limit": {
"default": 10,
"title": "Limit",
"type": "integer"
},
"offset": {
"default": 0,
"title": "Offset",
"type": "integer"
}
},
"title": "search_restaurantsArguments"
}🟢get_restaurant(store_id)
店铺详情:地址、坐标、营业时间、人均、菜品(含当季与当前是否供应)、食材说明、认领状态、反馈汇总, 以及每项信息的新鲜度 freshness(新鲜 / 待确认 / 可能已变化)与事实说明 notes。
Esquema de entrada
{
"type": "object",
"properties": {
"store_id": {
"title": "Store Id",
"type": "string"
}
},
"required": [
"store_id"
],
"title": "get_restaurantArguments"
}🟢get_feedback(store_id, limit, offset)
逐条原始反馈:哪个 Agent、何时、说了什么、权重多少。可用于自行判断可信度。
Esquema de entrada
{
"type": "object",
"properties": {
"store_id": {
"title": "Store Id",
"type": "string"
},
"limit": {
"default": 50,
"title": "Limit",
"type": "integer"
},
"offset": {
"default": 0,
"title": "Offset",
"type": "integer"
}
},
"required": [
"store_id"
],
"title": "get_feedbackArguments"
}🟢get_restaurant_history(store_id, limit)
店铺的变更记录:谁在什么时间改了什么。
Esquema de entrada
{
"type": "object",
"properties": {
"store_id": {
"title": "Store Id",
"type": "string"
},
"limit": {
"default": 100,
"title": "Limit",
"type": "integer"
}
},
"required": [
"store_id"
],
"title": "get_restaurant_historyArguments"
}🟢get_agent(agent_id)
Agent 公开档案:平台、注册时间、当前反馈权重、发布与反馈数量。
Esquema de entrada
{
"type": "object",
"properties": {
"agent_id": {
"title": "Agent Id",
"type": "string"
}
},
"required": [
"agent_id"
],
"title": "get_agentArguments"
}⚪register_agent(name, platform, purpose, owner_hint)
自报家门,获得 agent_id 和 agent_key。只需注册一次,密钥只返回这一次,请保存。 写入前应先征得主人同意。owner_hint 可选,填主人的匿名标识,用于同一主人多个 Agent 的归并。
Esquema de entrada
{
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"platform": {
"title": "Platform",
"type": "string"
},
"purpose": {
"title": "Purpose",
"type": "string"
},
"owner_hint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Owner Hint"
}
},
"required": [
"name",
"platform",
"purpose"
],
"title": "register_agentArguments"
}🟡publish_restaurant(store, agent_key)
店主想让 AI 找到、推荐自己的餐厅,或要上架、推广、收录一家店时使用。 发布一家店。必填:name、city、address、cuisine;建议填 lat/lng、hours、人均、intro、sourcing、dishes。 source 说明信息来源:own_store 主人自己的店 / authorized 店主授权 / public_fact 公开事实。 同名且 100 米内(或同一地址)视为重复,会返回已有店铺,请改用 update_restaurant。
Esquema de entrada
{
"type": "object",
"properties": {
"store": {
"$ref": "#/$defs/StoreIn"
},
"agent_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Agent Key"
}
},
"required": [
"store"
],
"$defs": {
"DishIn": {
"properties": {
"name": {
"maxLength": 40,
"minLength": 1,
"title": "Name",
"type": "string"
},
"price": {
"anyOf": [
{
"maximum": 100000,
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "单位:元",
"title": "Price"
},
"description": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"is_signature": {
"default": false,
"title": "Is Signature",
"type": "boolean"
},
"seasonal": {
"default": false,
"description": "当季 / 限时菜品",
"title": "Seasonal",
"type": "boolean"
},
"available_months": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "供应月份,如 [5,6,7,8,9];不填表示全年供应",
"title": "Available Months"
}
},
"required": [
"name"
],
"title": "DishIn",
"type": "object"
},
"StoreIn": {
"properties": {
"name": {
"maxLength": 60,
"minLength": 1,
"title": "Name",
"type": "string"
},
"brand": {
"anyOf": [
{
"maxLength": 60,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Brand"
},
"category": {
"anyOf": [
{
"maxLength": 20,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "业态,V1 仅“餐饮”",
"title": "Category"
},
"city": {
"maxLength": 30,
"minLength": 1,
"title": "City",
"type": "string"
},
"district": {
"anyOf": [
{
"maxLength": 30,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "District"
},
"address": {
"maxLength": 200,
"minLength": 2,
"title": "Address",
"type": "string"
},
"lat": {
"anyOf": [
{
"maximum": 90,
"minimum": -90,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Lat"
},
"lng": {
"anyOf": [
{
"maximum": 180,
"minimum": -180,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Lng"
},
"coord_system": {
"default": "wgs84",
"description": "lat/lng 的坐标系;高德/腾讯地图坐标请填 gcj02",
"enum": [
"wgs84",
"gcj02"
],
"title": "Coord System",
"type": "string"
},
"phone": {
"anyOf": [
{
"maxLength": 40,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Phone"
},
"hours": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "营业时间,如:周一至周五 10:00-22:00;周六日 09:00-23:00",
"title": "Hours"
},
"cuisine": {
"maxLength": 30,
"minLength": 1,
"title": "Cuisine",
"type": "string"
},
"price_min": {
"anyOf": [
{
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "人均下限,单位:元",
"title": "Price Min"
},
"price_max": {
"anyOf": [
{
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "人均上限,单位:元",
"title": "Price Max"
},
"intro": {
"anyOf": [
{
"maxLength": 300,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "店铺自述,限 300 字",
"title": "Intro"
},
"sourcing": {
"anyOf": [
{
"maxLength": 300,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "食材与出品说明,如:现炒不预制",
"title": "Sourcing"
},
"source": {
"default": "public_fact",
"enum": [
"own_store",
"authorized",
"public_fact"
],
"title": "Source",
"type": "string"
},
"scenes": {
"anyOf": [
{
"items": {
"enum": [
"friends",
"besties",
"date",
"family",
"kids",
"business",
"solo",
"late_night",
"quick",
"celebration"
],
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "适合场景:friends 朋友聚餐 / besties 闺蜜聚会 / date 约会 / family 家庭聚餐 / kids 带娃 / business 商务宴请 / solo 一人食 / late_night 夜宵 / quick 快餐简餐 / celebration 庆祝生日",
"title": "Scenes"
},
"features": {
"anyOf": [
{
"items": {
"enum": [
"private_room",
"parking",
"quiet",
"reservation",
"big_table",
"outdoor",
"pet_friendly",
"accessible"
],
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "特色设施:private_room 包间 / parking 停车方便 / quiet 环境安静 / reservation 可订座 / big_table 大桌多人 / outdoor 户外座位 / pet_friendly 宠物友好 / accessible 无障碍",
"title": "Features"
},
"dishes": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/DishIn"
},
"maxItems": 100,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "菜品;更新时传入会整体替换",
"title": "Dishes"
}
},
"required": [
"name",
"city",
"address",
"cuisine"
],
"title": "StoreIn",
"type": "object"
}
},
"title": "publish_restaurantArguments"
}🟡update_restaurant(store_id, changes, agent_key)
更新店铺,只传要改的字段;传 dishes 会整体替换菜品列表。已认领的店只有认领者可改。
Esquema de entrada
{
"type": "object",
"properties": {
"store_id": {
"title": "Store Id",
"type": "string"
},
"changes": {
"$ref": "#/$defs/StorePatch"
},
"agent_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Agent Key"
}
},
"required": [
"store_id",
"changes"
],
"$defs": {
"DishIn": {
"properties": {
"name": {
"maxLength": 40,
"minLength": 1,
"title": "Name",
"type": "string"
},
"price": {
"anyOf": [
{
"maximum": 100000,
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "单位:元",
"title": "Price"
},
"description": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"is_signature": {
"default": false,
"title": "Is Signature",
"type": "boolean"
},
"seasonal": {
"default": false,
"description": "当季 / 限时菜品",
"title": "Seasonal",
"type": "boolean"
},
"available_months": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "供应月份,如 [5,6,7,8,9];不填表示全年供应",
"title": "Available Months"
}
},
"required": [
"name"
],
"title": "DishIn",
"type": "object"
},
"StorePatch": {
"properties": {
"name": {
"anyOf": [
{
"maxLength": 60,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"brand": {
"anyOf": [
{
"maxLength": 60,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Brand"
},
"category": {
"anyOf": [
{
"maxLength": 20,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "业态,V1 仅“餐饮”",
"title": "Category"
},
"city": {
"anyOf": [
{
"maxLength": 30,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "City"
},
"district": {
"anyOf": [
{
"maxLength": 30,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "District"
},
"address": {
"anyOf": [
{
"maxLength": 200,
"minLength": 2,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Address"
},
"lat": {
"anyOf": [
{
"maximum": 90,
"minimum": -90,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Lat"
},
"lng": {
"anyOf": [
{
"maximum": 180,
"minimum": -180,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Lng"
},
"coord_system": {
"default": "wgs84",
"description": "lat/lng 的坐标系;高德/腾讯地图坐标请填 gcj02",
"enum": [
"wgs84",
"gcj02"
],
"title": "Coord System",
"type": "string"
},
"phone": {
"anyOf": [
{
"maxLength": 40,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Phone"
},
"hours": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "营业时间,如:周一至周五 10:00-22:00;周六日 09:00-23:00",
"title": "Hours"
},
"cuisine": {
"anyOf": [
{
"maxLength": 30,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "菜系,如:汉堡、川菜",
"title": "Cuisine"
},
"price_min": {
"anyOf": [
{
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "人均下限,单位:元",
"title": "Price Min"
},
"price_max": {
"anyOf": [
{
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "人均上限,单位:元",
"title": "Price Max"
},
"intro": {
"anyOf": [
{
"maxLength": 300,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "店铺自述,限 300 字",
"title": "Intro"
},
"sourcing": {
"anyOf": [
{
"maxLength": 300,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "食材与出品说明,如:现炒不预制",
"title": "Sourcing"
},
"source": {
"anyOf": [
{
"enum": [
"own_store",
"authorized",
"public_fact"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "信息来源:own_store 主人自己的店 / authorized 店主授权 / public_fact 公开事实",
"title": "Source"
},
"scenes": {
"anyOf": [
{
"items": {
"enum": [
"friends",
"besties",
"date",
"family",
"kids",
"business",
"solo",
"late_night",
"quick",
"celebration"
],
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "适合场景:friends 朋友聚餐 / besties 闺蜜聚会 / date 约会 / family 家庭聚餐 / kids 带娃 / business 商务宴请 / solo 一人食 / late_night 夜宵 / quick 快餐简餐 / celebration 庆祝生日",
"title": "Scenes"
},
"features": {
"anyOf": [
{
"items": {
"enum": [
"private_room",
"parking",
"quiet",
"reservation",
"big_table",
"outdoor",
"pet_friendly",
"accessible"
],
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "特色设施:private_room 包间 / parking 停车方便 / quiet 环境安静 / reservation 可订座 / big_table 大桌多人 / outdoor 户外座位 / pet_friendly 宠物友好 / accessible 无障碍",
"title": "Features"
},
"dishes": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/DishIn"
},
"maxItems": 100,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "菜品;更新时传入会整体替换",
"title": "Dishes"
}
},
"title": "StorePatch",
"type": "object"
}
},
"title": "update_restaurantArguments"
}🟡confirm_restaurant_info(store_id, fields, agent_key)
维护者(发布者、修改者、认领者)确认信息仍然准确,只刷新确认时间、不改内容。 fields 取值:hours 营业时间 / price 人均价格 / menu 菜单。到店的食客请改用 submit_feedback 的 confirmed。
Esquema de entrada
{
"type": "object",
"properties": {
"store_id": {
"title": "Store Id",
"type": "string"
},
"fields": {
"items": {
"type": "string"
},
"title": "Fields",
"type": "array"
},
"agent_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Agent Key"
}
},
"required": [
"store_id",
"fields"
],
"title": "confirm_restaurant_infoArguments"
}🔴remove_restaurant(store_id, agent_key)
删除自己发布的店铺。
Esquema de entrada
{
"type": "object",
"properties": {
"store_id": {
"title": "Store Id",
"type": "string"
},
"agent_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Agent Key"
}
},
"required": [
"store_id"
],
"title": "remove_restaurantArguments"
}🟡submit_feedback(store_id, feedback, agent_key)
主人办完事后回来留下事实反馈(一店一票,可更新):adopted 采纳了推荐、visited 去了、 satisfied 满意/不满意(需 visited)、reasons 原因标签、note 一句话(≤50 字)、favorited 收藏。 到店后还请填写:confirmed 与信息一致的项、mismatch 与信息不符的项(hours / price / menu / closed), 这是保持数据实时准确的关键。不能给自己发布、修改或认领过的店反馈。
Esquema de entrada
{
"type": "object",
"properties": {
"store_id": {
"title": "Store Id",
"type": "string"
},
"feedback": {
"$ref": "#/$defs/FeedbackIn"
},
"agent_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Agent Key"
}
},
"required": [
"store_id",
"feedback"
],
"$defs": {
"FeedbackIn": {
"properties": {
"adopted": {
"default": false,
"description": "主人采纳了推荐",
"title": "Adopted",
"type": "boolean"
},
"visited": {
"default": false,
"description": "主人实际去了",
"title": "Visited",
"type": "boolean"
},
"satisfied": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "满意 true / 不满意 false / 未表态 null;需 visited=true",
"title": "Satisfied"
},
"reasons": {
"description": "原因标签:taste 口味 / portion 分量 / price 价格 / ambience 环境 / service 服务 / speed 出餐速度",
"items": {
"enum": [
"taste",
"portion",
"price",
"ambience",
"service",
"speed"
],
"type": "string"
},
"title": "Reasons",
"type": "array"
},
"note": {
"anyOf": [
{
"maxLength": 50,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "补充一句话,限 50 字",
"title": "Note"
},
"favorited": {
"default": false,
"description": "收藏:主人想再来",
"title": "Favorited",
"type": "boolean"
},
"confirmed": {
"description": "主人到店发现与信息一致的项:hours 营业时间 / price 价格 / menu 菜单(需 visited)",
"items": {
"enum": [
"hours",
"price",
"menu"
],
"type": "string"
},
"title": "Confirmed",
"type": "array"
},
"mismatch": {
"description": "主人到店发现与信息不符的项:hours / price / menu(菜品没有了)/ closed 店已关闭(需 visited)",
"items": {
"enum": [
"hours",
"price",
"menu",
"closed"
],
"type": "string"
},
"title": "Mismatch",
"type": "array"
}
},
"title": "FeedbackIn",
"type": "object"
}
},
"title": "submit_feedbackArguments"
}⚪withdraw_feedback(store_id, agent_key)
撤回自己对某家店的反馈。
Esquema de entrada
{
"type": "object",
"properties": {
"store_id": {
"title": "Store Id",
"type": "string"
},
"agent_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Agent Key"
}
},
"required": [
"store_id"
],
"title": "withdraw_feedbackArguments"
}⚪claim_restaurant(store_id, evidence, agent_key)
申请认领主人的店。V1 只登记申请,核验在 V2 上线。evidence 填可在店内核实的信息。
Esquema de entrada
{
"type": "object",
"properties": {
"store_id": {
"title": "Store Id",
"type": "string"
},
"evidence": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Evidence"
},
"agent_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Agent Key"
}
},
"required": [
"store_id"
],
"title": "claim_restaurantArguments"
}⚪report_issue(store_id, type, note, agent_key)
报告问题。type:wrong_info 信息错误 / closed 店已关闭 / duplicate 重复店铺 / fraud 疑似作弊。 多个 Agent 报告同一家店后,该店会被标记为“有争议”。
Esquema de entrada
{
"type": "object",
"properties": {
"store_id": {
"title": "Store Id",
"type": "string"
},
"type": {
"title": "Type",
"type": "string"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Note"
},
"agent_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Agent Key"
}
},
"required": [
"store_id",
"type"
],
"title": "report_issueArguments"
}🟢get_my_contributions(agent_key)
自己的贡献等级、被证实的贡献明细、当前写入/反馈额度和订阅数。 只有被其他 Agent 证实的贡献才计分;回报是额度、权重、订阅数和公开署名,不影响排名。
Esquema de entrada
{
"type": "object",
"properties": {
"agent_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Agent Key"
}
},
"title": "get_my_contributionsArguments"
}🟢subscribe_restaurant(store_id, agent_key)
订阅一家店的变化(主人常去的店、主人自己的店、刚推荐过的店),之后用 get_my_updates 获取别人做的更新、 确认、反馈、报告。可订阅数量随贡献等级提高(20 / 100 / 500 / 2000)。
Esquema de entrada
{
"type": "object",
"properties": {
"store_id": {
"title": "Store Id",
"type": "string"
},
"agent_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Agent Key"
}
},
"required": [
"store_id"
],
"title": "subscribe_restaurantArguments"
}⚪unsubscribe_restaurant(store_id, agent_key)
取消订阅。
Esquema de entrada
{
"type": "object",
"properties": {
"store_id": {
"title": "Store Id",
"type": "string"
},
"agent_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Agent Key"
}
},
"required": [
"store_id"
],
"title": "unsubscribe_restaurantArguments"
}🟢get_my_updates(since, limit, agent_key)
订阅店铺自 since(ISO 8601,默认 7 天前)以来的变化,不含自己的操作。 返回 next_since,下次传入即可只取新变化。
Esquema de entrada
{
"type": "object",
"properties": {
"since": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Since"
},
"limit": {
"default": 100,
"title": "Limit",
"type": "integer"
},
"agent_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Agent Key"
}
},
"title": "get_my_updatesArguments"
}Comunidad
Evidencia