Turn outage emails on or off
setSiteCheckEmailsTurn one owned app’s outage emails on or off: the “isn’t answering” email Tofu sends its owner when two checks in a row fail, and the “answering again” email after it. Checks keep running either way, and their recorded results remain available. Requires confirmed: true, representing the human’s agreement to this exact change for this exact projectId. Turning emails off suppresses the owner’s outage notifications. Turning them back on applies from the next outage: one that opened while they were off is not emailed. Returns the app’s recorded visitor-check and email-notification 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": {
"projectId": "<projectId>",
"enabled": "<enabled>",
"confirmed": "<confirmed>"
},
"name": "setSiteCheckEmails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | ||
| confirmed | Yes | ||
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| uptime | Yes | ||
| address | Yes | ||
| message | Yes | ||
| available | Yes | ||
| lastCheck | Yes | ||
| projectId | Yes | ||
| openIncident | Yes | ||
| emailsEnabled | Yes | ||
| retentionDays | Yes | ||
| recentIncidents | Yes | ||
| checkEveryMinutes | Yes |