screenshot
Captures the agent desktop or a specified region for inspection, with optional scaling to reduce token use and workspace switching to view other desktops.
Instructions
Capture the agent desktop, or a region of it (x, y, width, height).
Use scale < 1 to save tokens; click coordinates are always full-scale screen pixels.
workspace captures another workspace: the view switches there for the capture and
then back (hidden workspaces have no pixels until shown).
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 |
|---|---|---|---|
| x | No | ||
| y | No | ||
| scale | No | ||
| width | No | ||
| format | No | png | |
| height | No | ||
| workspace | No | ||
| show_cursor | No |