UNPKG

adk-typescript

Version:

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

20 lines (19 loc) 582 B
import { FunctionTool } from './FunctionTool'; import { ToolContext } from './ToolContext'; /** * Function to exit a loop in an agent's execution * * @param params Parameters for the function (not used) * @param context The tool context * @returns A message confirming the loop exit */ export declare function exitLoop(params: Record<string, any>, context: ToolContext): Promise<string>; /** * Tool for exiting loops in an agent's execution */ export declare class ExitLoopTool extends FunctionTool { /** * Creates a new exit loop tool */ constructor(); }