firefox-devtools-mcpTools Reference
screenshot_by_uid
Capture specific element screenshot
screenshot_by_uid
Capture a screenshot of a specific element.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | Element UID from snapshot |
Example
{
"tool": "screenshot_by_uid",
"arguments": {
"uid": "uid-chart-container"
}
}Response
Returns the element screenshot as base64-encoded image data.