Philipp Schmid 3/24/2026

Combine Built-in Tools and Function Calling in the Gemini Interactions API

Read Original

This article explains how to combine built-in tools (Google Search, URL Context) with custom function declarations in a single request using the Gemini Interactions API. It provides two examples: first, a DevOps agent that searches for a CVE, reads an advisory, and files an incident automatically; second, cross-turn context circulation that preserves tool results across follow-up questions. The article includes Python code snippets and demonstrates how Gemini decides tool order and circulates context without manual orchestration.

Combine Built-in Tools and Function Calling in the Gemini Interactions API

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet