AIDK API Reference / aidk-shared / ToolConfirmationResult
Interface: ToolConfirmationResult ​
Defined in: packages/shared/src/tools.ts:260
Result of a tool confirmation, includes tool metadata for hooks/events. Used internally and in stream events.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
always | boolean | Whether this is a persistent preference | packages/shared/src/tools.ts:268 |
confirmed | boolean | Whether the tool execution was allowed | packages/shared/src/tools.ts:266 |
toolName | string | Name of the tool | packages/shared/src/tools.ts:264 |
toolUseId | string | ID of the tool call | packages/shared/src/tools.ts:262 |