Watch a cron job
add_heartbeatAdd a heartbeat for a scheduled job. Returns ping URLs: success at the end, /start at the beginning, /fail or / on failure. A missed ping alerts the owner. Keep the URLs secret (job config, not public code). 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>",
"grace_minutes": "<grace_minutes>"
},
"name": "add_heartbeat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The app: its slug, name, domain (shop.app), URL or id. list_apps shows them all. | |
| cron | No | Cron expression in UTC, like 0 3 * * *. Use this or every_hours. | |
| name | Yes | Like “Nightly backup” | |
| every_hours | No | Runs every N hours (0.0167 = every minute). Use this or cron. | |
| grace_minutes | Yes | How late it may be before BugOtter alerts |