forked from AtomDancing/tlbm-mcp
docs: 车辆状态接口支持满满和自营
- list_vehicle_status: 支持满满、自营 - get_vehicle_status: 支持满满、自营 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -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
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user