import { defineAgentTool } from '@zhin.js/tool'; import { sixtySClientToken } from '../../../../src/client.js'; import { z } from 'zod'; export default defineAgentTool({ description: "查询今日黄金价格", inputSchema: z.object({}), keywords: ["金价", "黄金", "黄金价格", "gold"], tags: ["金融", "黄金", "价格"], async execute(_input, context) { const handler = (await import('../../../../src/handlers/gold-price.js')).default; return handler(context.use(sixtySClientToken)); }, });