Runhooks
v1.0.1Schedule and manage recurring and one-off HTTP jobs on Runhooks from your AI agent.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
provision_account
Create a new anonymous Runhooks account (no email required) and save its API key locally for reuse. Idempotent: if this server already has a key (from RUNHOOKS_API_KEY or a previous provision), it returns the EXISTING account instead of creating a duplicate. Call this at most once — never to recover from an auth error.
| Parameter | Type | Description |
|---|---|---|
name | string | Optional display name for the account |
whoami
Show the currently authenticated Runhooks account (name, plan, API key prefix).
rotate_key
Rotate the API key. The old key stops working immediately; the new key is returned, saved locally, and used for the rest of this session.
create_job
Create a new scheduled job — an HTTP request fired on a schedule. The schedule.type is one of: "cron" (schedule.expression is a cron string, e.g. "0 9 * * 1,4" for every Monday & Thursday at 09:00 — build/preview expressions at https://runhooks.app/tools/cron-expression-builder; optional IANA schedule.timezone), "interval" (schedule.expression is the number of milliseconds between runs, as a string), or "once" for a single future run (schedule.expression is an ISO-8601 date-time — either an absolute instant like "2026-12-25T14:00:00Z"/with offset, or a naive wall-clock time like "2026-12…
| Parameter | Type | Description |
|---|---|---|
httpConfig * | object | |
name * | string | |
schedule * | object | |
description | string | |
retryPolicy | object | |
tags | array |
list_jobs
List your scheduled jobs with optional filters and pagination.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
name | string | Filter by name (regex) |
page | integer | |
status | string | |
tag | string |
get_job
Get a single job by its ID.
| Parameter | Type | Description |
|---|---|---|
id * | string |
update_job
Update an existing job. Only the fields you provide are changed.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
description | string | |
httpConfig | object | |
name | string | |
retryPolicy | object | |
schedule | object | |
status | string | |
tags | array |
delete_job
Delete a job permanently.
| Parameter | Type | Description |
|---|---|---|
id * | string |
pause_job
Pause a job — it stops executing until resumed.
| Parameter | Type | Description |
|---|---|---|
id * | string |
resume_job
Resume a paused job.
| Parameter | Type | Description |
|---|---|---|
id * | string |
list_executions
List recent executions (run history) for a job.
| Parameter | Type | Description |
|---|---|---|
jobId * | string | |
limit | integer | |
page | integer | |
status | string |
replay_execution
Re-run a past execution immediately.
| Parameter | Type | Description |
|---|---|---|
executionId * | string |
get_usage
Show the current plan usage and limits for the account.
list_alerts
List your failure-alert configurations.
create_alert
Create a failure alert. Fires when a job dead-letters. Channel is email, webhook, or slack.
| Parameter | Type | Description |
|---|---|---|
channel * | string | |
name * | string | |
target * | string | Email address, webhook URL, or Slack webhook URL |
consecutiveFailuresThreshold | integer | |
cooldownMinutes | integer | |
enabled | boolean | |
jobId | string | null | Scope to one job; omit for all jobs |
get_alert
Get a single alert configuration by its ID.
| Parameter | Type | Description |
|---|---|---|
id * | string |
update_alert
Update an alert configuration. Only the fields you provide are changed.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
channel | string | |
consecutiveFailuresThreshold | integer | |
cooldownMinutes | integer | |
enabled | boolean | |
jobId | string | null | |
name | string | |
target | string |
delete_alert
Delete an alert configuration.
| Parameter | Type | Description |
|---|---|---|
id * | string |