Capture one element
capture_elementCapture a screenshot of a single page element using its CSS selector to inspect one component instead of the full page.
Instructions
Screenshots a single element, given a CSS selector. Cheaper and far easier to reason about than a full page when the question is about one component.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "capture_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element | No | A number from the most recent annotate_interactive on this tab. Easier and safer than retyping a selector. | |
| selector | No | A CSS selector for the element to capture. |