computer_screen_size
Get a computer's primary screen size to convert vision-model coordinates before sending click commands.
Instructions
Get the primary screen size.
Use this to convert coordinates returned by a vision model before calling computer_click.
Args: serialno: The computer device serialno, from list_devices.
Returns: JSON envelope whose data carries the screen size.
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": {
"serialno": "<serialno>"
},
"name": "computer_screen_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serialno | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |