@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.
28 lines (27 loc) • 978 B
TypeScript
import { StructuredTool, ToolParams } from '@langchain/core/tools';
import { z } from 'zod';
import { HCS10Client } from '../hcs10/HCS10Client';
export interface FindRegistrationsToolParams extends ToolParams {
hcsClient: HCS10Client;
}
/**
* A tool to search for registered HCS-10 agents using the configured registry.
*/
export declare class FindRegistrationsTool extends StructuredTool {
name: string;
description: string;
schema: z.ZodObject<{
accountId: z.ZodOptional<z.ZodString>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
accountId?: string | undefined;
tags?: string[] | undefined;
}, {
accountId?: string | undefined;
tags?: string[] | undefined;
}>;
private hcsClient;
private logger;
constructor({ hcsClient, ...rest }: FindRegistrationsToolParams);
protected _call({ accountId, tags, }: z.infer<this['schema']>): Promise<string>;
}