Skip to content

Documentation / @agentick/shared / ToolConfirmationResult

Interface: ToolConfirmationResult ​

Defined in: tools.ts:243

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:251

Whether this is a persistent preference


confirmed ​

confirmed: boolean

Defined in: tools.ts:249

Whether the tool execution was allowed


reason? ​

optional reason: string

Defined in: tools.ts:253

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


toolName ​

toolName: string

Defined in: tools.ts:247

Name of the tool


toolUseId ​

toolUseId: string

Defined in: tools.ts:245

ID of the tool call

Released under the ISC License.