sandbox_screenshot
Captures the sandbox's current display as a PNG image to inspect graphical programs, boot or error screens, or stuck commands; pixel positions in the image support click targeting.
Instructions
Take a picture of what is currently on a sandbox's screen.
Use this to see things that have no text output: a graphical program, a boot or error screen, or to check what the sandbox is displaying when a command seems stuck. For the output of commands, sandbox_run is faster and more precise.
Returns a PNG image of the sandbox's display at this moment. Positions in this image, counted in pixels from its top-left corner, are what sandbox_click expects.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sandbox_id": "<sandbox_id>"
},
"name": "sandbox_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandbox_id | Yes |