UNPKG

@memberjunction/ai-agent-manager-actions

Version:

Agent Management actions for creating and managing AI agents in MemberJunction

32 lines 1.21 kB
import { ActionResultSimple, RunActionParams } from "@memberjunction/actions-base"; import { BaseAgentManagementAction } from "./base-agent-management.action"; /** * Gets detailed information about a specific agent including its full hierarchy * (sub-agents, sub-sub-agents, etc.) and associated actions at each level. * This action is restricted to the Agent Manager agent only. * * @example * ```typescript * const result = await runAction({ * ActionName: 'Get Agent Details', * Params: [ * { Name: 'AgentID', Value: 'agent-id' }, * { Name: 'IncludePrompts', Value: 'true' } // Optional, default false * ] * }); * // Returns AgentDetails object in output params * ``` */ export declare class GetAgentDetailsAction extends BaseAgentManagementAction { protected InternalRunAction(params: RunActionParams): Promise<ActionResultSimple>; /** * Recursively builds the agent hierarchy with all sub-agents and their actions */ private getAgentDetailsWithHierarchy; /** * Helper to parse boolean parameters */ private getBooleanParam; } export declare function LoadGetAgentDetailsAction(): void; //# sourceMappingURL=get-agent-details.action.d.ts.map