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?: {}
[src][key: string]: any;
Optional. The input parameters and values for the tool in JSON object format.
§
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.