Capture viewport screenshot
take_screenshotCapture a screenshot through the local bridge and return it as tool output. Defaults to the current 3D viewport; pass source="camera" only when the user explicitly wants the active camera view.
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": "take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Requested screenshot width in pixels. | |
| format | No | Image encoding for the captured screenshot: PNG or JPEG. | |
| height | No | Requested screenshot height in pixels. | |
| source | No | Use viewport for the current 3D view; camera requests the active scene camera view. | |
| quality | No | Requested image-encoding quality, from 20 to 100. |