get_bbox
Retrieve the bounding box coordinates of a web element using CSS selectors or element references to prepare for drag-and-drop operations in Electron applications.
Instructions
Get the bounding box of the first matching element in CSS pixels. Pass selector or ref. Useful before drag operations.
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": "get_bbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | ||
| ref | No | Ref from snapshot. |