runtime_screenshot
Capture the rendered frame of a running windowed game as an image plus its size. Requires a session started with windowed=true, since headless games draw no pixels.
Instructions
Capture what a windowed game is drawing. Returns: the image, with its size. Needs a session started with windowed=true; a headless game has no pixels.
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": "runtime_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session from runtime_run. Required only when several games run. |