Skip to main content

Droost: Run Cron

droost_cron_run Write (gated)

Module: Droost core

Triggers a full cron run (queues, reindexing, cleanup). Gated because cron executes arbitrary hook_cron work. Prefer targeted tools when one exists; reach for cron when testing time-based behavior.

Example call
{
    "tool": "droost_cron_run",
    "arguments": {}
}
Example response — captured live on this site
{
    "success": false,
    "message": "This tool is disabled. Enable it with: drush config:set droost.settings allow_destructive true (or via Admin → Configuration → Development → Droost), then reload the MCP server in your editor — the running server caches this flag at startup and will keep refusing until it is restarted. (To disable later, use --input-format=yaml false so the value is stored as a real boolean.)",
    "data": null
}

Runs Drupal cron (equivalent to "drush cron"): processes queues and scheduled maintenance. Gated by allow_destructive (cron has side effects).

Input schema (JSON Schema)
{
    "type": "object"
}