UNPKG

@gluneau/hive-mcp-server

Version:

An MCP server that enables AI assistants to interact with the Hive blockchain

28 lines 1.37 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getVestingDelegationsSchema = exports.getAccountHistorySchema = exports.getAccountInfoSchema = void 0; // Account-related schemas const zod_1 = require("zod"); const common_1 = require("./common"); // Schema for get_account_info tool exports.getAccountInfoSchema = zod_1.z.object({ username: zod_1.z.string().describe('Hive username to fetch information for'), }); // Schema for get_account_history tool exports.getAccountHistorySchema = zod_1.z.object({ username: zod_1.z.string().describe('Hive username'), limit: zod_1.z .number() .min(1) .max(100) .default(10) .describe('Number of operations to return'), operation_filter: common_1.operationFilterSchema.describe('Operation types to filter for. Can be provided as an array [\'transfer\', \'vote\'] or a comma-separated string \'transfer,vote\''), }); // Schema for get_vesting_delegations tool exports.getVestingDelegationsSchema = zod_1.z.object({ username: zod_1.z.string().describe('Hive account to get delegations for'), limit: zod_1.z.number().min(1).max(1000).default(100).describe('Maximum number of delegations to retrieve'), from: zod_1.z.string().optional().describe('Optional starting account for pagination'), }); //# sourceMappingURL=account.js.map