@@ -1,7 +1,7 @@
|
||||
import { tool } from "@opencode-ai/plugin";
|
||||
|
||||
export default tool({
|
||||
description: "Render a chart in the frontend chat UI.",
|
||||
description: "在前端对话界面中渲染图表。",
|
||||
args: {
|
||||
title: tool.schema.string().optional().describe("Chart title."),
|
||||
chart_type: tool.schema
|
||||
|
||||
Reference in New Issue
Block a user