import { defineAgentTool } from '@zhin.js/tool'; import { sixtySClientToken } from '../../../../src/client.js'; import { z } from 'zod'; export default defineAgentTool({ description: "查看历史上的今天发生了什么", inputSchema: z.object({}), keywords: ["历史", "历史上的今天", "今天历史", "history"], tags: ["历史", "知识", "日历"], async execute(_input, context) { const handler = (await import('../../../../src/handlers/history-today.js')).default; return handler(context.use(sixtySClientToken)); }, });