Skip to content

Documentation / @agentick/react / useToolConfirmations

Function: useToolConfirmations()

useToolConfirmations(options?): UseToolConfirmationsResult

Defined in: react/src/hooks/use-tool-confirmations.ts:28

Tool confirmation hook — wraps ToolConfirmations with useSyncExternalStore.

Use standalone for custom confirmation UIs, or use useChat for the full chat controller (messages + steering + confirmations).

Parameters

options?

ToolConfirmationsOptions = {}

Returns

UseToolConfirmationsResult

Released under the ISC License.