Configure app health checks
health_setChange one app's health-check settings in a single registry transaction without re-enrolling its node; omitted fields keep stored values.
Instructions
Change only one app's health check in a single registry transaction. Keeps access lists, tags, people scope, portal routes and the enrolled node; never re-enrolls. Omitted fields keep their stored value; empty or 0 selects the default; reset returns to defaults (GET / accepting 200-399). path, status range and body_contains apply to proxy apps only. HTTP MCP requires the current portal owner for a routed app, checked in the write transaction. Owner scope only. Over HTTP MCP, a change to a public app (open Funnel, a lapsed Funnel that keeps its public acknowledgement, or guest links), including one that makes an app public or removes it, needs the current portal owner when one is configured or a home gateway is on, checked in the write transaction (access_request_owner_required).
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": {
"app": "<app>"
},
"name": "health_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| path | No | HTTP probe path joined to the backend base path; empty means /. | |
| reset | No | Discard stored settings before applying the other fields. | |
| timeout | No | 100ms..30s; empty means 5s. | |
| interval | No | 10s..1d and at least timeout; empty means 1m. | |
| status_max | No | Highest accepted status; 0 means the default (399 when status_min is also unset, otherwise 299). | |
| status_min | No | Lowest accepted status; 0 means the default. | |
| body_contains | No | Expected substring in the first 64 KiB; empty removes the check. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| type | Yes | ||
| health | Yes | ||
| changed | Yes | ||
| defaults | Yes |