agentskit.js

ToolConfirmationProps

Auto-generated API reference for ToolConfirmationProps.

Interface: ToolConfirmationProps

Defined in: components/ToolConfirmation.tsx:4

#Properties

#onApprove

onApprove: (toolCallId) => void

Defined in: components/ToolConfirmation.tsx:6

#Parameters

toolCallId

string

#Returns

void


#onDeny

onDeny: (toolCallId, reason?) => void

Defined in: components/ToolConfirmation.tsx:7

#Parameters

toolCallId

string

reason?

string

#Returns

void


#toolCall

toolCall: ToolCall

Defined in: components/ToolConfirmation.tsx:5

Explore nearby

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page