get_viewport_screenshot
Capture the active viewport as a PNG image and receive it base64-encoded for direct use in scripts or automation.
Instructions
Capture the active editor viewport as a PNG, return base64-encoded inline.
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": "get_viewport_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||