Skip to content

feat(google): support mixing function tools with Gemini's server-side provider tools (Google Search, etc.)#6016

Open
Dhul-Husni wants to merge 1 commit into
livekit:mainfrom
Dhul-Husni:google-support-mixed-tools
Open

feat(google): support mixing function tools with Gemini's server-side provider tools (Google Search, etc.)#6016
Dhul-Husni wants to merge 1 commit into
livekit:mainfrom
Dhul-Husni:google-support-mixed-tools

Conversation

@Dhul-Husni

@Dhul-Husni Dhul-Husni commented Jun 8, 2026

Copy link
Copy Markdown

Summary

  • support mixing function tools with Gemini's server-side provider tools (Google Search, etc.) on the Gemini 3 Developer API, via include_server_side_tool_invocations

Fixes:

Related:

Evidence

google-mixed-tools-demo.mp4

… provider tools (Google Search, etc.) on the Gemini 3 Developer API

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

View 4 additional findings in Devin Review.

Open in Devin Review

tool_behavior: NotGivenOr[types.Behavior] = NOT_GIVEN,
use_parameters_json_schema: bool = True,
_only_single_type: bool = False,
include_provider_tools: bool = True,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚩 create_tools_config parameter rename may affect external callers

The create_tools_config function in __all__ had its keyword-only parameter renamed from _only_single_type: bool = False to include_provider_tools: bool = True with inverted semantics. While the underscore prefix on the old name suggests it was internal, its presence in __all__ makes it part of the public API. Any external code calling create_tools_config(_only_single_type=True) would get a TypeError at runtime. The realtime module in this same plugin also uses create_tools_config and should be verified.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant