set_dnd
Enable or disable Do Not Disturb on a specific sipgate device to manage incoming calls. Returns the device's before and after state.
Instructions
CHANGES THE SIPGATE ACCOUNT: enable or disable Do Not Disturb for one device. Reads and returns the device's before/after state.
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": {
"device_id": "<device_id>",
"enabled": "<enabled>"
},
"name": "set_dnd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | ||
| device_id | Yes | Device ID returned by list_devices |