Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudDialogflowV2ToolCall

import type { GoogleCloudDialogflowV2ToolCall } from "https://googleapis.deno.dev/v1/dialogflow:v3.ts";

Represents a call of a specific tool's action with the specified inputs.

interface GoogleCloudDialogflowV2ToolCall {
action?: string;
answerRecord?: string;
readonly createTime?: Date;
inputParameters?: {
[key: string]: any;
}
;
readonly state?: "STATE_UNSPECIFIED" | "TRIGGERED" | "NEEDS_CONFIRMATION";
tool?: string;
toolDisplayDetails?: string;
toolDisplayName?: string;
}

§Properties

§
action?: string
[src]

Optional. The name of the tool's action associated with this call.

§
answerRecord?: string
[src]

Optional. The answer record associated with this tool call.

§
readonly createTime?: Date
[src]

Output only. Create time of the tool call.

§
inputParameters?: {
[key: string]: any;
}
[src]

Optional. The action's input parameters.

§
readonly state?: "STATE_UNSPECIFIED" | "TRIGGERED" | "NEEDS_CONFIRMATION"
[src]

Output only. State of the tool call.

§
tool?: string
[src]

Optional. The tool associated with this call. Format: projects//locations//tools/.

§
toolDisplayDetails?: string
[src]

Optional. A human readable description of the tool.

§
toolDisplayName?: string
[src]

Optional. A human readable short name of the tool, to be shown on the UI.