AskUser

Object representation of a tool that provides an interface for agent-user interaction. It allows the agent to ask the user for input (via stdout/stdin).

Types

Link copied to clipboard
data class Args(val message: String)

Represents the arguments for the AskUser tool

Properties

Link copied to clipboard
Link copied to clipboard
open override val description: String
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val resultSerializer: KSerializer<String>

Functions

Link copied to clipboard
Link copied to clipboard
open suspend override fun doExecute(args: AskUser.Args): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun execute(args: AskUser.Args, enabler: DirectToolCallsEnabler): String
Link copied to clipboard
suspend fun executeUnsafe(args: Any?, enabler: DirectToolCallsEnabler): String