Google: Gemini 3.1 Pro Preview Custom Tools
Tools First Reasoning
Build Agentic Workflows
Tool Priority
Custom Tools Optimized
Prioritizes registered custom tools over bash in agentic flows.
Multimodal Input
1M Token Context
Handles text, images, video, audio with 1,048,576 token window.
Reasoning Enabled
Step-by-Step Thinking
Supports code execution, function calling, structured outputs.
Examples
See what Google: Gemini 3.1 Pro Preview Custom Tools can create
Copy any prompt below and try it yourself in the playground.
Code Search
“Find all Python files containing 'TODO' in the project directory. List file paths and line numbers with context.”
File Analysis
“Analyze this uploaded PDF schematic. Identify components, map connections, flag missing dependencies.”
Data Query
“Search codebase for functions using 'search_code' tool. Summarize usage patterns and suggest optimizations.”
Multimodal Task
“View this image of a circuit board. Extract handwritten notes, simulate 3D model, generate interactive code preview.”
For Developers
A few lines of code.
Tools. One call.
ModelsLab handles the infrastructure: fast inference, auto-scaling, and a developer-friendly API. No GPU management needed.
- Serverless: scales to zero, scales to millions
- Pay per token, no minimums
- Python and JavaScript SDKs, plus REST API
import requestsresponse = requests.post("https://modelslab.com/api/v7/llm/chat/completions",json={"key": "YOUR_API_KEY","prompt": "","model_id": ""})print(response.json())
Ready to create?
Start generating with Google: Gemini 3.1 Pro Preview Custom Tools on ModelsLab.