take_screenshot
Capture Linux desktop screenshots. Select a region interactively or specify geometry; save to a file or get base64 image.
Instructions
Take a screenshot of the Linux desktop.
Args: region: Optional region to capture. Use "select" to interactively pick a region with slurp, or pass geometry like "100,200 400x300". If omitted, captures the full screen. output_path: Optional path to save the screenshot. If omitted, saves to a temp file and returns the image as base64.
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": "take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |