Type Alias: GatewayInferenceInputFileSearchToolCall
type GatewayInferenceInputFileSearchToolCall = {
id: string;
type: "file_search_call";
status: "in_progress" | "searching" | "completed" | "incomplete" | "failed";
queries: string[];
results?: | {
file_id?: string;
text?: string;
filename?: string;
attributes?: GatewayInferenceInputVectorStoreFileAttributes;
score?: number;
}[]
| null;
};
Defined in: src/models/ai-gateway-inference.ts:2973
Portkey FileSearchToolCall; strict modeled input with explicit JSON extension maps.
Example
`GatewayInferenceInputFileSearchToolCallSchema.parse(value);`
Properties
id
id: string;
Defined in: src/models/ai-gateway-inference.ts:2974
type
type: "file_search_call";
Defined in: src/models/ai-gateway-inference.ts:2975
status
status: "in_progress" | "searching" | "completed" | "incomplete" | "failed";
Defined in: src/models/ai-gateway-inference.ts:2976
queries
queries: string[];
Defined in: src/models/ai-gateway-inference.ts:2977
results?
optional results?:
| {
file_id?: string;
text?: string;
filename?: string;
attributes?: GatewayInferenceInputVectorStoreFileAttributes;
score?: number;
}[]
| null;
Defined in: src/models/ai-gateway-inference.ts:2978