UNPKG

adk-typescript

Version:

TypeScript port of Google's Agent Development Kit (ADK)

21 lines (20 loc) 649 B
import { FunctionTool } from './FunctionTool'; import { ToolContext } from './ToolContext'; /** * Function to transfer control to another agent * * @param params Parameters for the function * @param params.agentName The name of the agent to transfer to * @param context The tool context * @returns A message about the transfer */ export declare function transferToAgent(params: Record<string, any>, context: ToolContext): Promise<string>; /** * Tool for transferring control to another agent */ export declare class TransferToAgentTool extends FunctionTool { /** * Creates a new transfer to agent tool */ constructor(); }