annotate_screenshot
Add markers, arrows, callouts, highlights, spotlights, and blur to screenshots so you can explain steps, report bugs, and produce clear documentation or tutorials.
Instructions
Add professional annotations to a screenshot image.
Annotation types available: • marker - Numbered circles (1, 2, 3...) with gradient and shadow • arrow - Straight arrows with customizable heads • curved-arrow - Smooth curved arrows • callout - Text boxes with pointers (speech bubbles) • rect - Rectangle highlights • circle - Circle highlights • label - Text labels with optional backgrounds • highlight - Semi-transparent overlays • blur - Blur sensitive content • connector - Dashed lines between elements • icon - Icon badges (check, x, warning, info, question) • spotlight - Dim the whole screenshot and softly highlight one area (place FIRST)
Themes: documentation, tutorial, bugReport, highlight
Colors: red, orange, yellow, green, blue, purple, pink, cyan, teal, white, black, gray, lightGray, darkGray, success, warning, error, info, primary, secondary, accent
PREMIUM TIPS for clean docs: • Markers auto-size to the screenshot resolution (retina-aware). Pass "scale" to override. • To avoid covering the UI, give a marker a "target": [x,y] of the element and let it sit in a clear area — it draws a leader line to the target automatically. • Set "margin" (e.g. 60) to pad the canvas so edge callouts/labels are never clipped. • Add a "spotlight" annotation FIRST to dim everything but the focus area. • Set "frame": { "browserBar": true } for a rounded browser chrome + drop shadow. • "format": "webp" + "downscale": 0.6 give crisp, light images for docs sites. • Text now uses a clean professional font by default (no handwriting).
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": {
"input_path": "<input_path>",
"annotations": "<annotations>"
},
"name": "annotate_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | Wrap the result in a premium frame. Pass {} for defaults or customize. | |
| matte | No | Background color for the margin area (hex or color name). Default white. | |
| scale | No | Annotation size multiplier. Omit to auto-scale from image width (retina-aware). Use 1 for raw sizes. | |
| theme | No | Apply a preset theme for consistent styling | |
| format | No | Output format. Default png (or inferred from output_path extension). | |
| margin | No | Padding (px) added around the screenshot so gutter callouts/markers are not clipped. Default 0. | |
| quality | No | Quality (1-100) for webp/jpeg. Default 90. | |
| downscale | No | Resize factor for the final image, e.g. 0.5 halves a 2x capture. Default 1 (no resize). | |
| input_path | Yes | Absolute path to the input screenshot | |
| annotations | Yes | Array of annotation objects | |
| output_path | No | Output path (optional, defaults to input-annotated.png) |