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.

35 lines (34 loc) 1.39 kB
import { z } from 'zod'; import { BaseHCS10QueryTool } from './base-hcs10-tools'; import { HCS10QueryToolParams } from './hcs10-tool-params'; declare const ManageConnectionRequestsZodSchema: z.ZodObject<{ action: z.ZodEnum<["list", "view", "reject"]>; requestKey: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { action: "list" | "view" | "reject"; requestKey?: string | undefined; }, { action: "list" | "view" | "reject"; requestKey?: string | undefined; }>; /** * A tool for managing incoming connection requests in a LangChain-compatible way. * This tool allows an agent to list, view details of, and reject incoming connection requests. */ export declare class ManageConnectionRequestsTool extends BaseHCS10QueryTool<typeof ManageConnectionRequestsZodSchema> { name: string; description: string; specificInputSchema: z.ZodObject<{ action: z.ZodEnum<["list", "view", "reject"]>; requestKey: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { action: "list" | "view" | "reject"; requestKey?: string | undefined; }, { action: "list" | "view" | "reject"; requestKey?: string | undefined; }>; constructor(params: HCS10QueryToolParams); protected executeQuery({ action, requestKey, }: z.infer<typeof ManageConnectionRequestsZodSchema>): Promise<unknown>; } export {};