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

35 lines (34 loc) 1.77 kB
import { z } from 'zod'; import { AIAgentCapability } from '@hashgraphonline/standards-sdk'; import { BaseHCS10QueryTool } from './base-hcs10-tools'; import { HCS10QueryToolParams } from './hcs10-tool-params'; /** * A tool to search for registered HCS-10 agents using the configured registry. */ declare const FindRegistrationsZodSchema: z.ZodObject<{ accountId: z.ZodOptional<z.ZodString>; tags: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodNativeEnum<typeof AIAgentCapability>, "many">, z.ZodArray<z.ZodString, "many">, z.ZodString]>>, AIAgentCapability[] | undefined, string | string[] | AIAgentCapability[] | undefined>; }, "strip", z.ZodTypeAny, { accountId?: string | undefined; tags?: AIAgentCapability[] | undefined; }, { accountId?: string | undefined; tags?: string | string[] | AIAgentCapability[] | undefined; }>; export declare class FindRegistrationsTool extends BaseHCS10QueryTool<typeof FindRegistrationsZodSchema> { name: string; description: string; specificInputSchema: z.ZodObject<{ accountId: z.ZodOptional<z.ZodString>; tags: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodNativeEnum<typeof AIAgentCapability>, "many">, z.ZodArray<z.ZodString, "many">, z.ZodString]>>, AIAgentCapability[] | undefined, string | string[] | AIAgentCapability[] | undefined>; }, "strip", z.ZodTypeAny, { accountId?: string | undefined; tags?: AIAgentCapability[] | undefined; }, { accountId?: string | undefined; tags?: string | string[] | AIAgentCapability[] | undefined; }>; constructor(params: HCS10QueryToolParams); protected executeQuery({ accountId, tags, }: z.infer<typeof FindRegistrationsZodSchema>): Promise<unknown>; } export {};