Google Lens
google_lensAnalyze images using Google Lens. Upload an image URL to get visual matches, web results, product identification, text extraction, and exact match detection. Supports refining results with a text query for search types: all and visual_matches. A result whose link is a Google redirect carries a token beside it: if google_resolve is among your tools, pass the token to it for the destination URL.
Required: url (a publicly accessible image URL).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "google_lens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Optional text query to refine image search results. Only works with search_type: all or visual_matches. | |
| url | Yes | Public URL of the image to analyze. Required. | |
| crop | No | Crop region as left;top;right;bottom with normalized 0-1 coordinates (e.g., '0.1;0.2;0.6;0.8'). Searches only the specified region of the image. | |
| country | No | Country code for localized results (e.g., 'us', 'gb'). Uses ISO 3166-1 alpha-2 format. | |
| safe_search | No | Safe search filtering. 'active' enables strict filtering, 'blur' blurs explicit content (default), 'off' disables filtering. | |
| search_type | No | Type of lens analysis. 'all' for general analysis, 'visual_matches' for similar images (some carry price and stock), 'exact_matches' for identical images. Default: all. |