4 lines
374 B
TypeScript
4 lines
374 B
TypeScript
import { tool } from "@opencode-ai/plugin";
|
|
import { callServerApiTool } from "./server_api_shared.js";
|
|
export default tool({ description: "列出当前项目的监测设备和监测点。", args: { include: tool.schema.enum(["devices", "points", "all"]).default("all") }, execute: (args, context) => callServerApiTool("list_monitoring_assets", args, context.sessionID) });
|