bosch_camera_audio_detection_set
Set glass-break or fire-alarm sound detection on a Gen2 camera. Requires at least one boolean; values are merged with current config and returned after update.
Instructions
Update glass-break and/or fire-alarm sound detection for one Gen2 camera.
Gen2 Audio-Plus-only feature — raises hardware_unsupported for Gen1
cameras. At least one of glass_break or fire_alarm must be provided.
Read-modify-write: the current config is fetched first, only the provided
field(s) are merged in, and both detectGlassBreak and detectFireAlarm
are always sent together on the PUT — Bosch's API silently resets whichever
field is omitted (same requirement as intrusionDetectionConfig).
Returns the updated {glass_break, fire_alarm} after write.
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": {
"camera": "<camera>"
},
"name": "bosch_camera_audio_detection_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera | Yes | ||
| fire_alarm | No | ||
| glass_break | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fire_alarm | No | Whether smoke/fire-alarm sound detection is enabled (Bosch API field 'detectFireAlarm') | |
| glass_break | No | Whether glass-break sound detection is enabled (Bosch API field 'detectGlassBreak') |