ToolConfirmation

data class ToolConfirmation(val confirmed: Boolean, val payload: Any? = null, val hint: String? = null)

Represents a tool confirmation configuration.

Constructors

Link copied to clipboard
constructor(confirmed: Boolean, payload: Any? = null, hint: String? = null)

Types

Link copied to clipboard
class Builder

Fluent builder for ToolConfirmation, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether the tool execution is confirmed.

Link copied to clipboard
val hint: String?

The hint for the confirmation.

Link copied to clipboard
val payload: Any?

The confirmation payload.