更新日: 2026-06-06
Gemini Tools
gemini-3.1-pro can reliably trigger these Gemini-native tool capabilities:
codeExecutiongoogleSearchurlContextfunctionDeclarations
This page keeps only request patterns and response markers that were reproduced against production.
Code Execution
The following request returned bothexecutableCode and codeExecutionResult in production:
Google Search
The following request returnedgroundingMetadata in production, confirming that Google Search was actually used:
candidates[0].groundingMetadata- Normal text output in
candidates[0].content.parts[*].text
URL Context
The following request returnedurlContextMetadata in production, along with groundingMetadata:
candidates[0].urlContextMetadatacandidates[0].groundingMetadata
Custom Function Calling
The following request returnedfunctionCall in production:
functionResponse.