Expand description
Tool confirmation — user confirmation for sensitive tool calls.
Structs§
- Confirmation
Request - A request for confirmation of a sensitive tool call, handed to a
ConfirmationProviderbefore the tool executes. - Static
Confirmation - A
ConfirmationProviderthat approves or denies every request uniformly — handy for tests and “deny-all” / “allow-all” defaults. - Tool
Confirmation - Represents a user’s confirmation decision for a tool call.
Traits§
- Confirmation
Provider - Decides whether a confirmation-gated tool call may proceed.