UNPKG

@hashgraphonline/standards-agent-kit

Version:

A modular SDK for building on-chain autonomous agents using Hashgraph Online Standards, including HCS-10 for agent discovery and communication. https://hol.org

55 lines (54 loc) 1.6 kB
import { z } from 'zod'; import { BaseInscriberQueryTool } from './base-inscriber-tools'; import { CallbackManagerForToolRun } from '@langchain/core/callbacks/manager'; /** * Schema for retrieving inscription */ declare const retrieveInscriptionSchema: z.ZodObject<{ transactionId: z.ZodString; apiKey: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { transactionId: string; apiKey?: string | undefined; }, { transactionId: string; apiKey?: string | undefined; }>; /** * Type definition for inscription retrieval result */ interface InscriptionRetrievalResult { inscriptionId?: string; transactionId: string; topicId?: string; status?: string; holderId?: string; metadata?: unknown; tags?: unknown; mode?: string; chunks?: unknown; createdAt?: string; completedAt?: string; fileUrl?: string; mimeType?: string; fileSize?: number; } /** * Tool for retrieving inscriptions */ export declare class RetrieveInscriptionTool extends BaseInscriberQueryTool<typeof retrieveInscriptionSchema> { name: string; description: string; get specificInputSchema(): z.ZodObject<{ transactionId: z.ZodString; apiKey: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { transactionId: string; apiKey?: string | undefined; }, { transactionId: string; apiKey?: string | undefined; }>; protected executeQuery(params: z.infer<typeof retrieveInscriptionSchema>, _runManager?: CallbackManagerForToolRun): Promise<InscriptionRetrievalResult>; } export {};