vision_reverse_image

Pack: google-vision · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/vision_reverse_image for the schema, then POST the same URL with its arguments for the data.

Reverse image search through Google Cloud Vision Web Detection. Send a public image URL or base64 image bytes; returns pagesWithMatchingImages first (rank, page url, pageTitle and that page’s fullMatchingImages and partialMatchingImages), then Google’s fullMatchingImages, partialMatchingImages, visuallySimilarImages, webEntities and bestGuessLabels. Answers where an image appears online, which pages host copies or crops of it, and what Google thinks it shows. Uses the caller’s own Google Cloud API key (Cloud Vision API enabled) passed as _apiKey.

Parameters

NameTypeRequiredDescription
image_urlstringnoPublicly reachable http(s) image URL. Give exactly one of image_url or bytes.
bytesstringnoBase64-encoded image bytes, optionally with a data:image/…;base64, prefix. Give exactly one of bytes or image_url.
max_resultsnumbernoMaximum pages to return in pagesWithMatchingImages (default 10, maximum 50).
_apiKeystringyesYour Google Cloud API key with the Cloud Vision API enabled (create one at ${KEY_URL}). Required: bring your own key.

Example call

Arguments

{
  "image_url": "https://upload.wikimedia.org/wikipedia/commons/3/3f/Fronalpstock_big.jpg",
  "max_results": 5
}

curl

curl -X POST https://gateway.pipeworx.io/google-vision/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"vision_reverse_image","arguments":{"image_url":"https://upload.wikimedia.org/wikipedia/commons/3/3f/Fronalpstock_big.jpg","max_results":5}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('vision_reverse_image', {
  "image_url": "https://upload.wikimedia.org/wikipedia/commons/3/3f/Fronalpstock_big.jpg",
  "max_results": 5
});

Response shape

Always returns: found, input_type, pagesWithMatchingImages, fullMatchingImages, partialMatchingImages, visuallySimilarImages, webEntities

FieldTypeDescription
foundbooleanTrue when Google returned at least one page with a matching image.
input_typestringimage_url or bytes.
pagesWithMatchingImagesarrayPages that contain the image, in Google’s order.
fullMatchingImagesarrayExact copies of the image anywhere on the web.
partialMatchingImagesarrayCrops or partial matches anywhere on the web.
visuallySimilarImagesarrayVisually similar images.
webEntitiesarrayEntities Google associates with the image.
bestGuessLabelsarray
fields_unavailablearrayGoogle fields that came back empty for this image.
reasonstringno_matches when Google found no page.
hintstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean",
      "description": "True when Google returned at least one page with a matching image."
    },
    "input_type": {
      "type": "string",
      "description": "image_url or bytes."
    },
    "pagesWithMatchingImages": {
      "type": "array",
      "description": "Pages that contain the image, in Google's order.",
      "items": {
        "type": "object",
        "properties": {
          "rank": {
            "type": "number",
            "description": "Position in Google's list, from 1."
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "Page URL."
          },
          "pageTitle": {
            "type": [
              "string",
              "null"
            ],
            "description": "Page title as Google returns it (may contain HTML markup)."
          },
          "score": {
            "type": [
              "number",
              "null"
            ],
            "description": "Google page score, when supplied."
          },
          "fullMatchingImages": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "description": "Image URL as Google returns it."
                },
                "score": {
                  "type": "number",
                  "description": "Google match score, when Google supplies one."
                }
              },
              "required": [
                "url"
              ]
            },
            "description": "Exact copies of the image on this page."
          },
          "partialMatchingImages": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "description": "Image URL as Google returns it."
                },
                "score": {
                  "type": "number",
                  "description": "Google match score, when Google supplies one."
                }
              },
              "required": [
                "url"
              ]
            },
            "description": "Crops or partial matches on this page."
          }
        },
        "required": [
          "rank",
          "url",
          "pageTitle",
          "fullMatchingImages",
          "partialMatchingImages"
        ]
      }
    },
    "fullMatchingImages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Image URL as Google returns it."
          },
          "score": {
            "type": "number",
            "description": "Google match score, when Google supplies one."
          }
        },
        "required": [
          "url"
        ]
      },
      "description": "Exact copies of the image anywhere on the web."
    },
    "partialMatchingImages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Image URL as Google returns it."
          },
          "score": {
            "type": "number",
            "description": "Google match score, when Google supplies one."
          }
        },
        "required": [
          "url"
        ]
      },
      "description": "Crops or partial matches anywhere on the web."
    },
    "visuallySimilarImages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Image URL as Google returns it."
          },
          "score": {
            "type": "number",
            "description": "Google match score, when Google supplies one."
          }
        },
        "required": [
          "url"
        ]
      },
      "description": "Visually similar images."
    },
    "webEntities": {
      "type": "array",
      "description": "Entities Google associates with the image.",
      "items": {
        "type": "object",
        "properties": {
          "entityId": {
            "type": [
              "string",
              "null"
            ]
          },
          "score": {
            "type": [
              "number",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "entityId",
          "score",
          "description"
        ]
      }
    },
    "bestGuessLabels": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": [
              "string",
              "null"
            ]
          },
          "languageCode": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "label",
          "languageCode"
        ]
      }
    },
    "fields_unavailable": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Google fields that came back empty for this image."
    },
    "reason": {
      "type": "string",
      "description": "no_matches when Google found no page."
    },
    "hint": {
      "type": "string"
    }
  },
  "required": [
    "found",
    "input_type",
    "pagesWithMatchingImages",
    "fullMatchingImages",
    "partialMatchingImages",
    "visuallySimilarImages",
    "webEntities"
  ]
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the google-vision pack
{
  "mcpServers": {
    "google-vision": {
      "url": "https://gateway.pipeworx.io/google-vision/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build December 3, 2026