Add Domoticz log message
add_log_messageAdd a message to the Domoticz log with a severity level (normal, status, or error) to record events or troubleshoot issues.
Instructions
Log message. level: 1=Normal, 2=Status, 4=Error. Cross-ref: domoticz://logs.
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": {
"message": "<message>"
},
"name": "add_log_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Log level: 1 normal, 2 status, 4 error | |
| message | Yes | Message to add to the Domoticz log |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional Domoticz response title | |
| status | Yes | Status returned by Domoticz, normally OK |