skeleton.preview
Overlay a captured skeleton on the live page, anchored to its measured element, to verify the placeholder matches before screenshotting. Runs in an isolated shadow root; call with remove:true to clear it.
Instructions
Draw a captured skeleton over the live page, anchored to the element it was measured from, so you can screenshot it and see whether the placeholder actually matches. The overlay lives in a shadow root outside the app tree, so page CSS cannot restyle it and it cannot restyle the page. Call with remove:true to take it down.
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": {
"name": "<name>"
},
"name": "skeleton.preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | ||
| remove | No | Remove the overlay instead of drawing one. | |
| selector | No | Anchor element. Defaults to the selector the skeleton was captured from. | |
| animation | No | ||
| highlight | No | ||
| target_id | No | Target handle (tgt_*). Omit for the active page. | |
| browser_id | No | Browser handle (br_*). Omit to use the only running browser, or auto-launch one. | |
| breakpoints | No | Default "container". See skeleton.emit. | |
| container_color | No |