Skip to content

Documentation / @agentick/shared / ToolConfirmationResult

Interface: ToolConfirmationResult

Defined in: tools.ts:279

Result of a tool confirmation, includes tool metadata for hooks/events. Used internally and in stream events.

Properties

always

always: boolean

Defined in: tools.ts:287

Whether this is a persistent preference


confirmed

confirmed: boolean

Defined in: tools.ts:285

Whether the tool execution was allowed


reason?

optional reason: string

Defined in: tools.ts:289

Free-text reason from the user (e.g. "yes but skip tests")


toolName

toolName: string

Defined in: tools.ts:283

Name of the tool


toolUseId

toolUseId: string

Defined in: tools.ts:281

ID of the tool call

Released under the ISC License.