Skip to content

Enable simultaneous use of Built-in Search and MCP Custom Tools#63

Merged
Gerifield merged 1 commit intomainfrom
jules-gemini-tools-mcp-2987211084199916275
Mar 19, 2026
Merged

Enable simultaneous use of Built-in Search and MCP Custom Tools#63
Gerifield merged 1 commit intomainfrom
jules-gemini-tools-mcp-2987211084199916275

Conversation

@Gerifield
Copy link
Owner

  • Removed exclusion check in cmd/server-bot/main.go preventing simultaneous configuration.
  • Added IncludeServerSideToolInvocations: true to genai.ToolConfig inside internal/ai/gemini/config.go.
  • Upgraded google.golang.org/genai to v1.51.0 to support the new tool config flag.

PR created automatically by Jules for task 2987211084199916275 started by @Gerifield

Updates the Gemini API configuration to allow simultaneous use of built-in
tools like Google Search alongside custom tools via MCP. Removes the mutual
exclusion check in the initialization block and wires up the
`IncludeServerSideToolInvocations` flag in the genai payload.

Co-authored-by: Gerifield <195914+Gerifield@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@Gerifield Gerifield merged commit 684c6f0 into main Mar 19, 2026
1 check passed
@Gerifield Gerifield deleted the jules-gemini-tools-mcp-2987211084199916275 branch March 19, 2026 20:18
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