feat: 新增车辆心跳数据查询接口

- list_vehicle_heartbeat: 查询车辆心跳数据列表 (/api/vehicle/heartbeat/list)
- 支持分页、城市筛选、操作员筛选

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 10:41:58 +08:00
co-authored by Claude Opus 4.8
parent 000a899561
commit 8d15eab348
2 changed files with 15 additions and 0 deletions
+14
View File
@@ -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" },
},
// === 运单监控 ===
{