screenshot
Capture the active viewport as a PNG and return its file path, optionally reorienting to iso, top, front, or right views.
Instructions
Save the active viewport as a PNG and return its path (sizes in px).
view: iso | top | front | right | current ('current' keeps the user's camera; the others reorient and fit the view). Default path: /test_output/screenshot__.png. Read the PNG to look at it. A timed-out call may still finish: call status before retrying.
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 |
|---|---|---|---|
| path | No | ||
| view | No | iso | |
| width | No | ||
| height | No | ||
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |