Detect Objects in Image
detect_objects_in_imageDetect objects in images using AI vision models and get annotated images with bounding boxes. Accepts URLs, base64 data, or file paths.
Instructions
Detect objects in an image using AI vision models and generate annotated images with bounding boxes. Supports URLs, base64 data, and local file paths. File handling: explicit filePath → exact path, otherwise → temp directory. Uses optimized default parameters for object detection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text prompt describing what to detect or recognize in the image. Avoid including any instructions about output structure or formatting — these are automatically managed by the workflow. | |
| imageSource | Yes | Image source - can be a URL, base64 data (data:image/...), or local file path | |
| viewportWidth | No | Optional logical viewport width (for web screenshots). Used to distinguish between actual image dimensions and logical viewport size. | |
| outputFilePath | No | Optional explicit output path for the annotated image. If provided, the image is saved to this exact path. Relative paths are resolved against the MCP server's current working directory. | |
| viewportHeight | No | Optional logical viewport height (for web screenshots). Used to distinguish between actual image dimensions and logical viewport size. |