AskUserTool

Ask the user a question and return their answer to the LLM.

The tool delegates the I/O to gateway so callers can plug in any UI channel (console, mobile prompt, test stub).

Constructors

Link copied to clipboard
constructor(gateway: UserInteractionGateway)

Properties

Link copied to clipboard
Link copied to clipboard
open override val descriptor: ToolDescriptor
Link copied to clipboard
open val name: String

Functions

Link copied to clipboard
open suspend override fun execute(arguments: JsonObject): String
Link copied to clipboard
open fun matches(toolName: String): Boolean