{
  "slug": "deadline-countdown",
  "name": "gizza-ai/deadline-countdown",
  "version": "0.1.0",
  "title": "Deadline Countdown — gizza.ai",
  "description": "Compute time remaining or overdue for dated tasks, label urgency, and sort the list by deadline in table, Markdown, JSON, or CSV format.",
  "tags": [
    "tasks",
    "dates",
    "planning",
    "productivity",
    "deadline"
  ],
  "category": "time",
  "urls": {
    "page": "https://gizza.ai/tools/deadline-countdown/",
    "markdown": "https://gizza.ai/tools/deadline-countdown/index.md",
    "descriptor": "https://gizza.ai/tools/deadline-countdown/tool.json",
    "deep_link_example": "https://gizza.ai/tools/deadline-countdown/?tasks=Submit%20taxes%20due%3A%202026-07-30%0AShip%20launch%20due%3A%202026-07-31%2016%3A00%0ARenew%20cert%20due%3A%202026-08-05%0Ax%20Done%20item%20due%3A%202026-07-01&now=2026-07-31%2012%3A00&format=table&include_completed=true&soon_days=7"
  },
  "cli": "gizza tool deadline-countdown \"Submit taxes due: 2026-07-30\nShip launch due: 2026-07-31 16:00\nRenew cert due: 2026-08-05\nx Done item due: 2026-07-01\" 'now=2026-07-31 12:00'",
  "tool": {
    "description": "Compute the time remaining for each task's due date, label overdue/today/soon/later status, and sort the list by urgency. Paste one task per line with a date (YYYY-MM-DD, YYYY-MM-DD HH:MM, ISO datetime, or due:/deadline:), provide a deterministic 'now' value, choose table/Markdown/JSON/CSV output, and optionally include completed tasks or tune the due-soon window.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "format": {
          "default": "table",
          "description": "Output format: aligned text table, Markdown table, JSON rows, or CSV rows.",
          "enum": [
            "table",
            "markdown",
            "json",
            "csv"
          ],
          "type": "string"
        },
        "include_completed": {
          "default": false,
          "description": "Include tasks already marked complete instead of skipping them.",
          "type": "boolean"
        },
        "now": {
          "description": "Reference date/time for deterministic countdowns, for example 2026-07-31 12:00 or 2026-07-31T12:00:00Z.",
          "type": "string"
        },
        "soon_days": {
          "default": 7,
          "description": "Number of days ahead that should be labeled DUE SOON. Due-today and overdue statuses are always shown.",
          "minimum": 0,
          "type": "integer"
        },
        "tasks": {
          "description": "One task per line. Include a due date as YYYY-MM-DD, YYYY-MM-DD HH:MM, ISO datetime, or after due:/deadline:. Completed lines beginning with x, [x], done:, or ✓ are skipped unless include_completed is true.",
          "type": "string"
        }
      },
      "required": [
        "tasks",
        "now"
      ],
      "type": "object"
    }
  }
}