google · Google AI Docs
Gemini API Tool use with Live API
Explains how to implement and integrate external tools into a real-time multimodal session using the Gemini Live API.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Gemini API Tool use with Live API
Explains how to implement and integrate external tools into a real-time multimodal session using the Gemini Live API.
When To Use
Use when you need to enable a real-time multimodal agent to interact with external functions or services during a live session.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/gemini-api-tool-use-with-live-workflow-guide.md | An overview of supported tools for the Gemini Live API, including function calling and Google Search integration. | Questions about an overview of supported tools for the Gemini Live API, including function calling and Google Search integration. |
examples/gemini-api-tool-use-with-live-gemini-api-live-tool-use-python-function-d.text | A Python code example demonstrating how to define function declarations for tool use within a Gemini Live API session. | Exact payloads, commands, or snippets shown in A Python code example demonstrating how to define function declarations for tool use within a Gemini Live API session. |
examples/gemini-api-tool-use-with-live-gemini-api-live-tool-use-javascript-functi.text | A JavaScript code snippet demonstrating how to define function declarations for tool use within the Gemini Live API. | Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating how to define function declarations for tool use within the Gemini Live API. |
examples/gemini-api-tool-use-with-live-gemini-api-live-non-blocking-function-defi.text | A text representation of non-blocking and blocking function definitions for the Gemini API Live tool use. | Exact payloads, commands, or snippets shown in A text representation of non-blocking and blocking function definitions for the Gemini API Live tool use. |
examples/gemini-api-tool-use-with-live-gemini-api-live-tool-use-function-declarat.text | A text file defining non-blocking and blocking function declarations for use with the Gemini API Live tool use feature. | Exact payloads, commands, or snippets shown in A text file defining non-blocking and blocking function declarations for use with the Gemini API Live tool use feature. |
examples/gemini-api-tool-use-with-live-gemini-api-live-function-response-scheduli.text | A Python code snippet demonstrating how to apply scheduling options like INTERRUPT, WHENIDLE, or SILENT to a non-blocking function response in the Gemini Live API. | Exact payloads, commands, or snippets shown in A Python code snippet demonstrating how to apply scheduling options like INTERRUPT, WHENIDLE, or SILENT to a non-bloc... |
examples/gemini-api-tool-use-with-live-gemini-api-live-function-response-scheduli-2.text | A Node.js code example demonstrating how to apply non-blocking function response scheduling using the Google GenAI SDK. | Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to apply non-blocking function response scheduling using the Google GenAI SDK. |
examples/gemini-api-tool-use-with-live-gemini-api-live-tool-use-python-google-sea.text | A Python script demonstrating how to enable Google Search tool use within a Gemini API Live session using the genai client. | Exact payloads, commands, or snippets shown in A Python script demonstrating how to enable Google Search tool use within a Gemini API Live session using the genai c... |
examples/gemini-api-tool-use-with-live-gemini-api-live-tool-use-google-search-nod.text | A Node.js code example demonstrating how to enable Google Search tool use within a Gemini API Live session. | Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to enable Google Search tool use within a Gemini API Live session. |
examples/gemini-api-tool-use-with-live-gemini-api-live-tool-use-prompt.text | A text-based prompt example demonstrating how to configure Google Search and function declarations for the Gemini Live API. | Exact payloads, commands, or snippets shown in A text-based prompt example demonstrating how to configure Google Search and function declarations for the Gemini Liv... |
examples/gemini-api-tool-use-with-live-gemini-api-live-tool-use-javascript-prompt.text | A JavaScript code snippet demonstrating how to configure Google Search and function declarations within a Gemini API Live API session. | Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating how to configure Google Search and function declarations within a Gemini API... |
What This Skill Covers
- Tool use allows Live API to go beyond just conversation by enabling it to perform actions in the real-world and pull in external context while maintaining a...
- Main sections:
Overview of supported tools,Function calling,Python,JavaScript,Asynchronous function calling.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://ai.google.dev/gemini-api/docs/live-api/tools
