fl_screenshot
Captures screenshots of a browser tab or a single element by ref or selector when visual layout matters, returning CSS pixel coordinates usable for mouse actions.
Instructions
Screenshot of a tab, or of one element with ref / selector. Only when the visual layout matters: snapshots are much cheaper. Pixels are CSS pixels, usable as x / y for {do:"mouse"}.
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": {
"tab": "<tab>"
},
"name": "fl_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| tab | Yes | ||
| full | No | ||
| selector | No |