Variable: defaultToolsToGeminiTools
ts
const defaultToolsToGeminiTools: (
tools: Iterable<Tool<SpooledArtifact> | ArtifactTool>,
) => GeminiTool[] = toolsToGeminiTools;Defined in: src/batteries/llm/gemini_generate_content/helpers.ts:184
Default implementation; alias of toolsToGeminiTools.
ADK tools → native functionDeclarations.
Parameters
| Parameter | Type |
|---|---|
tools | Iterable< | Tool<SpooledArtifact> | ArtifactTool> |
Returns
Remarks
Names are normalised through the shared normalizeToolName so a tool whose ADK name contains characters Gemini rejects still resolves; functionResponse.name must later match whatever this produced, which is why both sides call the same normaliser.