Interface PreparedToolInvocation

The result of a call to LanguageModelTool.prepareInvocation.

Stubbed

interface PreparedToolInvocation {
    confirmationMessages?: LanguageModelToolConfirmationMessages;
    invocationMessage?: string;
}

Properties

The presence of this property indicates that the user should be asked to confirm before running the tool. The user should be asked for confirmation for any tool that has a side-effect or may potentially be dangerous.

invocationMessage?: string

A customized progress message to show while the tool runs.