Skip to content

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 ​

PropertyTypeDescriptionDefined in
alwaysbooleanWhether this is a persistent preferencepackages/shared/src/tools.ts:268
confirmedbooleanWhether the tool execution was allowedpackages/shared/src/tools.ts:266
toolNamestringName of the toolpackages/shared/src/tools.ts:264
toolUseIdstringID of the tool callpackages/shared/src/tools.ts:262

Released under the MIT License.