Set what counts as up (main URL)
set_uptime_ruleReplace the rule for the app's main URL: an exact status code, text the page must contain, and/or a JSON field. Fields you leave out are cleared, so pass everything you want to keep. Needs write access.
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": "set_uptime_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The app: its slug, name, domain (shop.app), URL or id. list_apps shows them all. | |
| json_path | No | JSON field that must exist, like status or checks[0].ok | |
| expect_text | No | Text the response must contain, from one line of the page | |
| json_equals | No | Value json_path must equal (true, 42, "ok") | |
| expect_status | No | Exact status code that counts as up, e.g. 200. Omit: any 2xx or 3xx. |