Capture Screen To File
capture_screen_to_fileCapture the screen or a defined region and save it as a PNG file for documentation, debugging, or review.
Instructions
Save a screenshot to a PNG file. Region optional (all four of x/y/width/height required to be used).
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": {
"path": "<path>"
},
"name": "capture_screen_to_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| path | Yes | ||
| width | No | ||
| height | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |