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.

42 lines (41 loc) 1.26 kB
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, { uid: string; registryTopicId: string; memo?: string | undefined; }, { uid: string; registryTopicId: 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(): z.ZodObject<{ registryTopicId: z.ZodString; uid: z.ZodString; memo: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { uid: string; registryTopicId: string; memo?: string | undefined; }, { uid: string; registryTopicId: string; memo?: string | undefined; }>; protected executeQuery(params: z.infer<typeof deleteEntrySchema>, _runManager?: CallbackManagerForToolRun): Promise<unknown>; } export {};