Add an extra check
add_checkCheck another URL next to the main one, on the same schedule and two-of-three-regions rule: an API, a health endpoint, the checkout. Up to 3 extra per app on Starter, 10 on Builder and Pro. Returns the check id and whether it passes now. 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": "<name>",
"url": "<url>"
},
"name": "add_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The app: its slug, name, domain (shop.app), URL or id. list_apps shows them all. | |
| url | Yes | Full public URL, or a path on the app like /api/health | |
| body | No | POST only: the request body, sent as-is (JSON must parse) | |
| name | Yes | Like “Checkout API” or “Health” | |
| method | No | Default GET | |
| enabled | No | Default true | |
| headers | No | Extra request headers, e.g. { "Authorization": "Bearer …" }. Saved encrypted and never shown again. On update, replaces all saved headers; leave out to keep them. | |
| 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") | |
| content_type | No | POST only: default application/json | |
| expect_status | No | Exact status code that counts as up, e.g. 200. Omit: any 2xx or 3xx. |