15 lines
428 B
TypeScript
15 lines
428 B
TypeScript
import { optionalToolReason } from "../tool-reason.js";
|
|
import { tool } from "../tool.js";
|
|
|
|
import { executeFrontendAction } from "./frontend_action.js";
|
|
|
|
export default tool({
|
|
description: "清除当前浏览器地图上的 Agent SCADA 分析结果覆盖层。",
|
|
args: {
|
|
reason: optionalToolReason,
|
|
},
|
|
async execute(args, context) {
|
|
return executeFrontendAction("clear_scada_analysis", args, context);
|
|
},
|
|
});
|