"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TrendingTokenTool = void 0;
const zod_1 = require("zod");
const ai_1 = require("ai");
const trending_1 = require("../trending");
const trendingTokenToolInputSchema = zod_1.z.object({});
class TrendingTokenTool {
    constructor() {
        this.trending = new trending_1.Trending();
        this.tool = (0, ai_1.tool)({
            description: "Get the trending tokens",
            inputSchema: trendingTokenToolInputSchema,
            execute: async (_parameters) => {
                return await this.trending.getTrendingCoins();
            },
        });
    }
}
exports.TrendingTokenTool = TrendingTokenTool;
