capture_set
Capture a labeled set of page screenshots for before/after visual comparison, enabling pixel-level refactor verification without golden references.
Instructions
Capture a named set of pages (e.g. label="before" before a refactor, "after" after it).
Pages default to all reference names; any names work if you pass pages and the route
mapping resolves them. Use compare_sets afterwards. Proves a refactor is pixel-neutral
without depending on golden references.
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": {
"label": "<label>"
},
"name": "capture_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| pages | No | ||
| profile | No | ||
| base_url | No | ||
| viewport | No | all |