forked from AtomDancing/tlbm-mcp
feat: 新增车辆心跳数据查询接口
- list_vehicle_heartbeat: 查询车辆心跳数据列表 (/api/vehicle/heartbeat/list) - 支持分页、城市筛选、操作员筛选 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -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` | 当日运单列表 |
|
||||
|
||||
@@ -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" },
|
||||
},
|
||||
|
||||
// === 运单监控 ===
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user