From 8d15eab3489e501dd64894b8651316e6415d8db0 Mon Sep 17 00:00:00 2001 From: JunWang Date: Fri, 12 Jun 2026 10:41:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E8=BD=A6=E8=BE=86?= =?UTF-8?q?=E5=BF=83=E8=B7=B3=E6=95=B0=E6=8D=AE=E6=9F=A5=E8=AF=A2=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - list_vehicle_heartbeat: 查询车辆心跳数据列表 (/api/vehicle/heartbeat/list) - 支持分页、城市筛选、操作员筛选 Co-Authored-By: Claude Opus 4.8 --- README.md | 1 + src/index.ts | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/README.md b/README.md index e279311..ebe8816 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,7 @@ mcp_servers: | `mcp_tlbm_list_vehicle_unavailability` | 所有车辆不可用统计 | | `mcp_tlbm_get_vehicle_drive_mile` | 统计行驶距离 | | `mcp_tlbm_get_vehicle_path_playback` | 轨迹回放 | +| `mcp_tlbm_list_vehicle_heartbeat` | 查询车辆心跳数据 | | `mcp_tlbm_get_overdue_shipping` | 查询超时未确认装卸货 | | `mcp_tlbm_get_order_summary` | 查询运单汇总 | | `mcp_tlbm_get_today_orders` | 当日运单列表 | diff --git a/src/index.ts b/src/index.ts index fd29755..aab36ac 100644 --- a/src/index.ts +++ b/src/index.ts @@ -151,6 +151,20 @@ const TOOLS = [ }, endpoint: { method: "GET", path: "/api/vehicle/path/playback" }, }, + { + name: "list_vehicle_heartbeat", + description: "查询车辆心跳数据列表,支持分页", + inputSchema: { + type: "object", + properties: { + cityId: { type: "integer", description: "城市ID" }, + operator: { type: "string", description: "操作员" }, + page: { type: "integer", default: 1, description: "页码" }, + pageSize: { type: "integer", default: 20, description: "每页数量" }, + }, + }, + endpoint: { method: "GET", path: "/api/vehicle/heartbeat/list" }, + }, // === 运单监控 === {