Tabbit
ResourcesBlogModels
Tabbit LogoTabbit

Tabbit — The AI Browser that Works for You

Topics

  • AI Browser Resources
  • Agentic Browser Resources
  • Browser Downloads and Install Guides
  • Browser Comparisons
  • AI Browser Alternatives
  • Browser Productivity Resources

Popular Guides

  • AI Browser
  • Agentic Browser Download
  • Best AI Browser 2026: Top 9 Tested & Ranked
  • AI Browser Download
  • Free AI Browser
  • Best AI Browser 2026
  • AI Browser Comparison 2026
  • AI Browser for Windows
  • AI Browser for Mac
  • Chrome Alternative 2026

Events

  • Tabbit Skill Competition
  • KPOP SBTI Fandom Personality Test
  • Tabbit Campus Creator Program
  • fifi's Picks: AI Skills for Research Papers
  • User Survey

About

  • Tabbit Blog
  • Press & Media
English
简体中文English
Prompts and workflows

Gemini 3.1 Pro · configuration

Gemini 3.1 Pro Thinking Levels, Structured Outputs, and Tool Configuration

Google's official documentation combines thinking_level, default temperature, tool calls, and JSON schema checks, while separating the customtools endpoint.

Source reviewed; not testedGemini 3.1 Pro client or API; confirm the live model ID, tools, permissions, and version before execution.

Prerequisites and inputs

  • task goal
  • source or reference material
  • runtime constraints
  • acceptance criteria

Complete templates

Editorial adaptation: task template

Tabbit editorial adaptation; not the original source prompt
Run {{RESEARCH_TASK}} with {{MODEL_ID}}, fixed {{THINKING_LEVEL}}, and {{TEMPERATURE}}. Enable {{RETRIEVAL_TOOLS}} and {{FUNCTION_SCHEMA}}, emit valid {{JSON_SCHEMA}}, attach {{SOURCE_URL_FIELD}} to each finding, verify {{WRITE_READBACK_ID}} after writes, and record any customtools A/B change separately.

Before running, fill every variable and return each value in the acceptance record.

Replace before running: {{MODEL_ID}}, {{RESEARCH_TASK}}, {{THINKING_LEVEL}}, {{TEMPERATURE}}, {{RETRIEVAL_TOOLS}}, {{FUNCTION_SCHEMA}}, {{JSON_SCHEMA}}, {{SOURCE_URL_FIELD}}, {{WRITE_READBACK_ID}}

Run {{RESEARCH_TASK}} with {{MODEL_ID}}, fixed {{THINKING_LEVEL}}, and {{TEMPERATURE}}. Enable {{RETRIEVAL_TOOLS}} and {{FUNCTION_SCHEMA}}, emit valid {{JSON_SCHEMA}}, attach {{SOURCE_URL_FIELD}} to each finding, verify {{WRITE_READBACK_ID}} after writes, and record any customtools A/B change separately.

Read the source research notes

One-sentence takeaway

For Gemini 3.1 Pro, first fix thinking_level and the default temperature, then combine Search, URL context, function calling, and a JSON schema as needed; when bash/custom tools are required, prioritize testing the dedicated customtools endpoint.

Use cases

  • Suitable tasks: Research retrieval, code review, structured extraction, and Agents that require multi-step tool calls.

  • Unsuitable tasks: Using high for every high-throughput request; treating temperature<1.0 as the default stabilization method is also unsuitable.

  • Applicable model versions: gemini-3.1-pro-preview; when mixing bash and custom tools, test gemini-3.1-pro-preview-customtools.

  • Applicable clients, Agents, or APIs: Interactions API (officially recommended for accessing the latest models/features), Gemini API, Google AI Studio, and Vertex AI; specific SDK versions must match the documentation.

  • Recommended reasoning levels and parameters: Pro supports low/medium/high, with dynamic high as the default; keep temperature at 1.0, and do not pass the legacy thinking_budget together with thinking_level.

Ready-to-use content

from google import genai

client = genai.Client()

interaction = client.interactions.create(
    model="gemini-3.1-pro-preview",
    input="""
    Search for and verify the latest information on the specified topic. Use only facts returned by tools;
    attach a source URL to every conclusion. When sources conflict, retain the evidence from both sides and explain the difference.
    In the end, output strictly valid JSON that conforms to the schema; do not add fields outside the schema.
    Topic: <topic>
    """,
    generation_config={"thinking_level": "medium"},
    tools=[
        {"type": "google_search"},
        {"type": "url_context"},
        {
            "type": "function",
            "name": "save_finding",
            "description": "Save one verified finding and return its stable ID.",
            "parameters": {
                "type": "object",
                "properties": {
                    "claim": {"type": "string"},
                    "source_url": {"type": "string"},
                    "confidence": {"type": "string"}
                },
                "required": ["claim", "source_url", "confidence"]
            }
        }
    ],
    response_format={
        "type": "text",
        "mime_type": "application/json",
        "schema": {
            "type": "object",
            "properties": {
                "findings": {"type": "array"},
                "uncertainties": {"type": "array"}
            },
            "required": ["findings", "uncertainties"]
        }
    }
)

This tool and schema configuration is a reusable skeleton; for actual deployment, validate the fields against the current google.genai SDK, and have the server validate URLs, permissions, duplicate writes, and JSON.

Test/workflow steps

  1. Use low, medium, and high on the same task set to establish quality/latency/cost curves first; consider high for complex engineering tasks.

  2. Fix temperature=1.0 and compare thinking levels separately; do not change the prompt and sampling parameters at the same time.

  3. Use Search/URL context to obtain evidence first, then allow functions to write; read back the result after writing and validate the stable ID.

  4. For structured outputs, run a JSON parse, schema validation, and source URL reachability check.

  5. If the model ignores custom tools such as view_file and search_code and prefers bash, use the customtools endpoint for A/B testing; record quality fluctuations at the same time.

Raw evidence and data

  • Pro's thinking_level supports low/medium/high, with high as the default (dynamic); minimal is not supported for Pro.

  • The official recommendation is to keep Gemini 3's temperature at the default 1.0; values below 1.0 may cause loops or degrade complex math/reasoning performance.

  • The model page lists 1,048,576 input tokens and 65,536 output tokens; it supports caching, code execution, function calling, Search grounding, structured outputs, and URL context.

  • The model page provides a separate gemini-3.1-pro-preview-customtools endpoint, describing it as better at prioritizing mixed bash/custom tools, while also warning that quality may fluctuate in scenarios that do not benefit from these tools.

  • The official Gemini 3 guide provides a structured-output example combining Search, URL context, and a JSON schema.

Scope and limitations

  • Interactions API/SDK examples may change with preview versions; before deployment, always follow the current API schema and model page.

  • Schema constraints constrain only the output format; they cannot ensure that search results are accurate or that tool writes are safe.

  • customtools's “better tool prioritization” is the official positioning, not an independent success rate across tasks; it must be tested with your own tool set.

  • The save_finding function in the code snippet is an example function and must not be given arbitrary network, file, or database permissions.

Source excerpt or observation (short excerpt for compliance only)

The official documentation says that Gemini 3's high is a dynamic upper bound on “maximum reasoning depth,” rather than a strict token guarantee; this is a key boundary when configuring capacity and latency.

Source and dates

Google AI for Developers / Gemini 3 Developer Guide and Gemini 3.1 Pro Preview model page · Source date: 2026-02 · Edited: 2026-09-20

Read the original source
Variable checklist

Still to replace: 9

{{MODEL_ID}}{{RESEARCH_TASK}}{{THINKING_LEVEL}}{{TEMPERATURE}}{{RETRIEVAL_TOOLS}}{{FUNCTION_SCHEMA}}{{JSON_SCHEMA}}{{SOURCE_URL_FIELD}}{{WRITE_READBACK_ID}}

Related prompts

Gemini 3.1 Pro: Concise Prompting and Long-Context Question PlacementSpec-Driven Coding Workflow: Claude-Led Planning and Gemini-Isolated ExecutionGemini 3.1 Pro: Open-Source Architecture Alignment and Multi-Model Pair Programming Workflow

Related reviews

Google Officially Releases Gemini 3.1 Pro: ARC-AGI-2 and Product Positioning BaselineLayerLens Stratix's Six-Benchmark Evaluation of Gemini 3.1 Pro PreviewArtificial Analysis's Comprehensive 182-Model Benchmark and End-to-End Latency Evaluation of Gemini 3.1 Pro PreviewMindStudio's Full-Task Evaluation of Three Flagships: GPT-5.4, Claude Opus 4.6, and Gemini 3.1 Pro

Gemini 3.1 Pro

Use Gemini 3.1 Pro in Tabbit

Run this guide in the environment listed above. Downloading does not transfer the template or establish model availability for your account.