screenshot
Capture a screenshot from a connected HarmonyOS device. Optionally specify a crop region and save to a local file.
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 |
|---|---|---|---|
| top | No | ||
| left | No | ||
| right | No | ||
| bottom | No | ||
| device_id | No | ||
| display_id | No | ||
| hdc_server | No | ||
| local_path | No |