screenshot
Capture the current frame as a PNG image. Specify width and/or height to scale down while preserving aspect ratio.
Instructions
Capture the current frame as a PNG image. Provide width and/or height to scale down (aspect ratio is preserved when only one is given; error if both are given with wrong aspect ratio).
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": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Target width in pixels. If only width is provided, height is computed to preserve aspect ratio. | |
| height | No | Target height in pixels. If only height is provided, width is computed to preserve aspect ratio. |