Module confirmation

Module confirmation 

Source
Expand description

Tool confirmation — user confirmation for sensitive tool calls.

Structs§

ConfirmationRequest
A request for confirmation of a sensitive tool call, handed to a ConfirmationProvider before the tool executes.
StaticConfirmation
A ConfirmationProvider that approves or denies every request uniformly — handy for tests and “deny-all” / “allow-all” defaults.
ToolConfirmation
Represents a user’s confirmation decision for a tool call.

Traits§

ConfirmationProvider
Decides whether a confirmation-gated tool call may proceed.