---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/gemini_generate_content/helpers/variables/defaultToolsToGeminiTools.md
description: 'Default implementation; alias of [`toolsToGeminiTools`](https://adk.nht.io/api/@nhtio/adk/batteries/llm/gemini_generate_content/helpers/functions/toolsToGeminiTools).'
---

# Variable: defaultToolsToGeminiTools

```ts
const defaultToolsToGeminiTools: (
  tools: Iterable<Tool<SpooledArtifact> | ArtifactTool>,
) => GeminiTool[] = toolsToGeminiTools;
```

Defined in: [src/batteries/llm/gemini\_generate\_content/helpers.ts:184](https://github.com/NHTIO/ADK/blob/master/src/src/batteries/llm/gemini_generate_content/helpers.ts#L184)

Default implementation; alias of [toolsToGeminiTools](../functions/toolsToGeminiTools.md).

ADK tools → native `functionDeclarations`.

## Parameters

| Parameter | Type                                                                                                                                                                                                                  |
| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `tools`   | `Iterable`< | [`Tool`](../../../../../forge/classes/Tool.md)<[`SpooledArtifact`](../../../../../spooled_artifact/classes/SpooledArtifact.md)> | [`ArtifactTool`](../../../../../forge/classes/ArtifactTool.md)> |

## Returns

[`GeminiTool`](../../types/interfaces/GeminiTool.md)\[]

## 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.
