{
"name": "searchapi_google_lens",
"description": "Google Lens results from SearchApi, as structured JSON.",
"input_schema": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Publicly accessible URL of the image to analyze."
},
"search_type": {
"type": "string",
"description": "Result tab: all (default), exact_matches, visual_matches or products.",
"enum": [
"all",
"exact_matches",
"visual_matches",
"products"
],
"default": "all"
},
"q": {
"type": "string",
"description": "Optional text query refining what to find on the image."
},
"country": {
"type": "string",
"description": "Country of the search; supported values listed at docs/parameters/google-lens/country."
},
"hl": {
"type": "string",
"description": "Interface language of the search (two-letter language code).",
"enum": [
"af",
"ak",
"sq",
"am",
"ar",
"hy",
"az",
"eu",
"be",
"bem",
"bn",
"bh",
"bs",
"br",
"bg",
"km",
"ca",
"chr",
"ny",
"zh-CN",
"zh-TW",
"co",
"hr",
"cs",
"da",
"nl",
"en",
"eo",
"et",
"ee",
"fo",
"tl",
"fi",
"fr",
"fy",
"gaa",
"gl",
"ka",
"de",
"el",
"gn",
"gu",
"ht",
"ha",
"haw",
"iw",
"hi",
"hu",
"is",
"ig",
"id",
"ia",
"ga",
"it",
"ja",
"jw",
"kn",
"kk",
"rw",
"rn",
"kg",
"ko",
"kri",
"ku",
"ckb",
"ky",
"lo",
"la",
"lv",
"ln",
"lt",
"loz",
"lg",
"ach",
"mk",
"mg",
"ms",
"ml",
"mt",
"mi",
"mr",
"mfe",
"mo",
"mn",
"sr-ME",
"my",
"ne",
"pcm",
"nso",
"no",
"nn",
"oc",
"or",
"om",
"ps",
"fa",
"pl",
"pt",
"pt-BR",
"pt-PT",
"pa",
"qu",
"ro",
"rm",
"nyn",
"ru",
"gd",
"sr",
"sh",
"st",
"tn",
"crs",
"sn",
"sd",
"si",
"sk",
"sl",
"so",
"es",
"es-419",
"su",
"sw",
"sv",
"tg",
"ta",
"tt",
"te",
"th",
"ti",
"to",
"lua",
"tum",
"tr",
"tk",
"tw",
"ug",
"uk",
"ur",
"uz",
"vi",
"cy",
"wo",
"xh",
"yi",
"yo",
"zu"
],
"default": "en"
}
},
"required": [
"url"
],
"examples": [
{
"url": "https://www.example.com/sample-page"
}
]
}
}
Paste the definition into your own agent's tools array. The schema is generated from this engine's catalog entry, and the reader's configured values ride in the schema's examples. The name is ours rather than the MCP server's — it is what your agent will call — and every engine's is prefixed searchapi_.