ExitTool
An object representing the exit tool, primarily intended for ending conversations upon user request or based on agent decision. This tool finalizes interactions with a provided message.
The tool utilizes a structured set of arguments, which includes the final message of the agent to provide closure to the conversation. It returns the result as a standardized string, signaling the execution has been completed.
The descriptor defines the tool's metadata including its name, description, and required parameters.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun executeAndSerialize(args: ExitTool.Args, enabler: DirectToolCallsEnabler): Pair<ToolResult.Text, String>
Link copied to clipboard