Skip to content

AIDK API Reference / aidk-shared / ToolConfirmationResponse

Interface: ToolConfirmationResponse ​

Defined in: packages/shared/src/tools.ts:244

Response from client when confirming/denying a tool execution. Sent via POST /api/channels/tool-confirmation.

Properties ​

PropertyTypeDescriptionDefined in
always?booleanIf true, remember this decision for future calls to this tool. Application should persist this preference.packages/shared/src/tools.ts:253
confirmedbooleanWhether the tool execution is allowedpackages/shared/src/tools.ts:248
toolUseIdstringID of the tool call being confirmedpackages/shared/src/tools.ts:246

Released under the MIT License.