takeScreenshot
Capture a screenshot of a specific screen and return it as a base64 encoded string. Use screen ID and optional timeout.
Instructions
Take a screenshot of a specific screen and return it as a base64 encoded string.
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": "takeScreenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| screenId | No | ID of the screen to capture. Use listScreens to find available screens. Default is 1 (main screen) | |
| timeout | No | Maximum time to wait in milliseconds (default: 0, no timeout) |