Skip to content
1 min read · 92 words

Interface: GeminiToolConfig ​

Defined in: src/batteries/llm/gemini_generate_content/types.ts:167

Forces, permits, or forbids function calling.

Properties ​

PropertyTypeDescriptionDefined in
functionCallingConfig{ allowedFunctionNames?: string[]; mode: "AUTO" | "ANY" | "NONE"; }The calling mode and its optional allow-list.src/batteries/llm/gemini_generate_content/types.ts:169
functionCallingConfig.allowedFunctionNames?string[]-src/batteries/llm/gemini_generate_content/types.ts:172
functionCallingConfig.mode"AUTO" | "ANY" | "NONE"AUTO lets the model choose; ANY forces a call; NONE forbids one.src/batteries/llm/gemini_generate_content/types.ts:171