docs: 车辆状态接口支持满满和自营

- list_vehicle_status: 支持满满、自营
- get_vehicle_status: 支持满满、自营

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 12:09:31 +08:00
co-authored by Claude Opus 4.8
parent 5d4451df61
commit 8ce9802358
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -86,8 +86,8 @@ mcp_servers:
| 工具名 | 功能 | 备注 | | 工具名 | 功能 | 备注 |
|--------|------|------| |--------|------|------|
| `mcp_tlbm_list_vehicle_status` | 查询所有车辆最新状态 | 支持满满 | | `mcp_tlbm_list_vehicle_status` | 查询所有车辆最新状态 | 支持满满、自营 |
| `mcp_tlbm_get_vehicle_status` | 查询指定车辆状态 | | | `mcp_tlbm_get_vehicle_status` | 查询指定车辆状态 | 支持满满、自营 |
| `mcp_tlbm_list_vehicle_by_status` | 按状态码筛选车辆 | 仅支持满满 | | `mcp_tlbm_list_vehicle_by_status` | 按状态码筛选车辆 | 仅支持满满 |
| `mcp_tlbm_get_vehicle_metrics` | 查询工作时长指标 | 仅支持满满 | | `mcp_tlbm_get_vehicle_metrics` | 查询工作时长指标 | 仅支持满满 |
| `mcp_tlbm_get_vehicle_unavailability` | 统计不可用时长 | | | `mcp_tlbm_get_vehicle_unavailability` | 统计不可用时长 | |
+2 -2
View File
@@ -58,13 +58,13 @@ const TOOLS = [
// === 车辆状态 === // === 车辆状态 ===
{ {
name: "list_vehicle_status", name: "list_vehicle_status",
description: "查询所有车辆最新状态,按电量由低到高排序(当前仅支持满满)", description: "查询所有车辆最新状态,按电量由低到高排序(支持满满、自营",
inputSchema: { type: "object", properties: {} }, inputSchema: { type: "object", properties: {} },
endpoint: { method: "GET", path: "/api/vehicle/status/list" }, endpoint: { method: "GET", path: "/api/vehicle/status/list" },
}, },
{ {
name: "get_vehicle_status", name: "get_vehicle_status",
description: "根据车牌号查询车辆最新状态", description: "根据车牌号查询车辆最新状态(支持满满、自营)",
inputSchema: { inputSchema: {
type: "object", type: "object",
properties: { properties: {