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.
Returns string
cancelConfirmation
cancelConfirmation(reason?): void
Cancel the confirmation (reject the promise)
Parameters
Optionalreason: unknown
Returns void
confirm
confirm(): void
Confirm the tool execution
Returns void
createConfirmationPromise
createConfirmationPromise(): Promise<boolean>
Create a confirmation promise that can be resolved/rejected later
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.