FileSearchTool
import type { FileSearchTool } from "https://googleapis.deno.dev/v1/ces:v1.ts";The file search tool allows the agent to search across the files uploaded by the app/agent developer. It has presets to give relatively good quality search over the uploaded files and summarization of the retrieved results.
interface FileSearchTool {
corpusType?: "CORPUS_TYPE_UNSPECIFIED" | "USER_OWNED" | "FULLY_MANAGED";
description?: string;
fileCorpus?: string;
name?: string;
}