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

30 lines (29 loc) 935 B
import { z } from 'zod'; import { BaseHCS2QueryTool } from './base-hcs2-tools'; import { CallbackManagerForToolRun } from '@langchain/core/callbacks/manager'; /** * Schema for deleting an entry from HCS-2 */ declare const deleteEntrySchema: z.ZodObject<{ registryTopicId: z.ZodString; uid: z.ZodString; memo: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { registryTopicId: string; uid: string; memo?: string | undefined; }, { registryTopicId: string; uid: string; memo?: string | undefined; }>; /** * Tool for deleting entries from HCS-2 registries */ export declare class DeleteEntryTool extends BaseHCS2QueryTool<typeof deleteEntrySchema> { name: string; description: string; get specificInputSchema(): typeof deleteEntrySchema; protected executeQuery(params: z.infer<typeof deleteEntrySchema>, _runManager?: CallbackManagerForToolRun): Promise<unknown>; } export {};