screenshot
Capture the game and return it as an image.
Instructions
Capture the game and return it as an image.
By default grabs the Deadlock window itself via X11 (works even when other windows cover it, no focus change). If the window can't be captured (minimised, not found) this is an error, not a picture of the desktop. full_screen=True captures the whole screen instead, other windows included. crop: 'WxH+X+Y' in captured-image pixels (the game window's, e.g. '800x800+0+1100' for the bottom-left HUD), applied before resizing — use it to inspect small HUD details. A crop that fails is an error, not an uncropped image.
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 |
|---|---|---|---|
| crop | No | ||
| max_width | No | ||
| full_screen | No |