detect_ui
Locate and classify UI elements in screen regions using YOLOv8n object detection accelerated by NPU or CPU, outputting labeled bounding boxes with confidence scores.
Instructions
Detect objects / UI elements in a screen region using YOLOv8n on OpenVINO (NPU or CPU). Returns bounding boxes with labels and confidence scores. region=[x1,y1,x2,y2] in screen coords; omit for full screen.
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": "detect_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | [x1, y1, x2, y2] | |
| backend | No | Force a specific backend (openvino_npu or openvino_cpu) |