Files
TJWaterAgent/.opencode/tools/render_junctions.ts
T

17 lines
517 B
TypeScript

import { tool } from "@opencode-ai/plugin";
export default tool({
description: "在前端地图上对 junctions 图层应用分区渲染。",
args: {
reason: tool.schema
.string()
.describe("Why this junction rendering action is needed for the user request."),
render_ref: tool.schema
.string()
.describe("Reference to a stored junction rendering payload resolved by the Agent service."),
},
async execute() {
return "已在地图上应用节点分区渲染。";
},
});