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

ToolCall

import type { ToolCall } from "https://googleapis.deno.dev/v1/ces:v1.ts";

Request for the client or the agent to execute the specified tool.

interface ToolCall {
args?: {
[key: string]: any;
}
;
readonly displayName?: string;
id?: string;
tool?: string;
toolsetTool?: ToolsetTool;
}

§Properties

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

Optional. The input parameters and values for the tool in JSON object format.

§
readonly displayName?: string
[src]

Output only. Display name of the tool.

§
id?: string
[src]

Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse.

§
tool?: string
[src]

Optional. The name of the tool to execute. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}

§
toolsetTool?: ToolsetTool
[src]

Optional. The toolset tool to execute.