# tool_to_dict

> **Function** in `langchain_google_genai`

📖 [View in docs](https://reference.langchain.com/python/langchain-google-genai/_function_utils/tool_to_dict)

## Signature

```python
tool_to_dict(
    tool: types.Tool,
) -> _ToolDict
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-google/blob/b9115a3f63cbb2a9731ff72e9bbc3991bd1cfbdd/libs/genai/langchain_google_genai/_function_utils.py#L507)