diff --git a/mcp/tools/screenshots.mdx b/mcp/tools/screenshots.mdx index 3648f572ca..1424070bd5 100644 --- a/mcp/tools/screenshots.mdx +++ b/mcp/tools/screenshots.mdx @@ -11,7 +11,7 @@ Capture the current page, a specific element, or the full scrollable page. | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `type` | string | no | `png` (default) or `jpeg` | -| `ref` | string | no | Element ref to screenshot a specific element | +| `target` | string | no | Exact target element reference from page snapshot | | `fullPage` | boolean | no | Capture full scrollable page | ### Page screenshot @@ -26,7 +26,7 @@ You: Take a screenshot of the current page. ```txt You: Take a screenshot of just the login form. -→ browser_take_screenshot { ref: "e12" } +→ browser_take_screenshot { target: "e12" } → Returns: PNG image cropped to the element ```