set_defocus_detection
Configure defocus detection on a Hanwha camera by enabling the feature and setting sensitivity, threshold level, and duration to detect when focus degrades.
Instructions
Configure defocus detection enable, sensitivity, threshold, duration.
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": "set_defocus_detection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enable | No | Enable/disable defocus detection | |
| channel | No | Camera channel (default 0) | |
| duration | No | Duration in seconds | |
| sensitivity | No | Sensitivity level (0-100) | |
| thresholdLevel | No | Threshold level (0-100) |