import { defineAgentTool } from '@zhin.js/tool'; import { sixtySClientToken } from '../../../../src/client.js'; import { z } from 'zod'; export default defineAgentTool<{ province?: string }>({ description: "查询今日油价", inputSchema: z.object({ province: z.string().optional() }), keywords: ["油价", "汽油", "柴油", "fuel"], tags: ["生活", "油价", "价格"], async execute(input, context) { const handler = (await import('../../../../src/handlers/fuel-price.js')).default; return handler(context.use(sixtySClientToken), input); }, });