Optional
id: stringOptional
name: stringOptional
arg_string: stringOptional
finished: booleanOptional
result: ToolCallResultProtected
Optional
_Protected
Optional
_Protected
Optional
_Protected
_Protected
Optional
_Protected
Optional
_Protected
Optional
_Protected
Optional
_Readonly
kindStatic
Readonly
typeCancel the confirmation (reject the promise)
Optional
reason: unknownConfirm the tool execution
Create a confirmation promise that can be resolved/rejected later
Deny the tool execution
Static
is
Represents the content as a string. Returns
undefined
if the content is purely informational and/or visual and should not be included in the overall representation of the response.