Skip to main content
Delete a cron job (sets status to deleting for operator cleanup)

Tool details

FieldValue
Namedelete_cron_job
GroupJobs

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "cron_job_id": {
      "type": "string",
      "description": "Cron job ID to delete"
    },
    "confirm": {
      "type": "boolean",
      "description": "Must be true to confirm deletion"
    }
  },
  "required": [
    "project_reference",
    "cron_job_id",
    "confirm"
  ],
  "additionalProperties": false,
  "description": "Input schema for the delete_cron_job tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Whether the cron job deletion request succeeded."
    },
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Deleted cron job identifier, or null when deletion failed before lookup."
    },
    "error": {
      "type": [
        "string",
        "null"
      ],
      "description": "Deletion error message when the request was not successful."
    }
  },
  "required": [
    "success",
    "id",
    "error"
  ],
  "additionalProperties": false,
  "description": "Deletion result for a cron job.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}