Set Viewport Size
importio_viewportSet the browser viewport size in CSS pixels for subsequent steps; to resize inside an importio_play_action pipeline use importio_action_viewport.
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": {
"width": "<width>",
"height": "<height>"
},
"name": "importio_viewport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Viewport width in CSS pixels. | |
| height | Yes | Viewport height in CSS pixels. |