メインコンテンツへスキップ
更新日: 2026-06-06

Gemini Tools

As of March 23, 2026, Crazyrouter production has verified that gemini-3.1-pro can reliably trigger these Gemini-native tool capabilities:
  • codeExecution
  • googleSearch
  • urlContext
  • functionDeclarations
This page keeps only request patterns and response markers that were reproduced against production.

Code Execution

The following request returned both executableCode and codeExecutionResult in production:
Observed response shape:

The following request returned groundingMetadata in production, confirming that Google Search was actually used:
Current markers to check:
  • candidates[0].groundingMetadata
  • Normal text output in candidates[0].content.parts[*].text

URL Context

The following request returned urlContextMetadata in production, along with groundingMetadata:
Current markers to check:
  • candidates[0].urlContextMetadata
  • candidates[0].groundingMetadata

Custom Function Calling

The following request returned functionCall in production:
Observed response shape:
To continue the tool loop, send the tool result back with Gemini-native functionResponse.