perch_set_viewport
Set live preview viewport dimensions, then report the iframe rectangle for responsive layout checks.
Instructions
Resize the live preview and report the iframe rect.
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": "perch_set_viewport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Default 1500 | |
| height | No | Default 950 |