mcp_run_cron
Run a WordPress cron hook's earliest scheduled event now, moving recurring events to their next slot or unscheduling single events.
Instructions
Run the earliest scheduled event of a cron hook now, like wp cron event run: a recurring event moves to its next slot, a single event is unscheduled, then the hook fires (404 if not scheduled). Returns next_run_timestamp (null for a single event). Audit-logged. cvrt-mcp-endpoints 1.16.0+; older versions leave the event due.
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": {
"site": "<site>",
"hook": "<hook>"
},
"name": "mcp_run_cron"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hook | Yes | Cron hook name to run | |
| site | Yes | Site id (see list_sites) |