{
  "slug": "tail-lines",
  "name": "gizza-ai/tail-lines",
  "version": "0.1.0",
  "title": "Tail — Get the Last N Lines of Text — gizza.ai",
  "description": "Get the last N lines of any text in your browser, like tail -n — skip footer rows and add original line numbers. Free, private, no sign-up.",
  "tags": [
    "tail",
    "last lines",
    "last n lines",
    "tail -n",
    "bottom lines",
    "truncate lines",
    "line numbers",
    "text tool"
  ],
  "category": "text",
  "urls": {
    "page": "https://gizza.ai/tools/tail-lines/",
    "markdown": "https://gizza.ai/tools/tail-lines/index.md",
    "descriptor": "https://gizza.ai/tools/tail-lines/tool.json",
    "deep_link_example": "https://gizza.ai/tools/tail-lines/?text=line%201%0Aline%202%0Aline%203%0A...&count=10&skip=0&number=true"
  },
  "cli": "gizza tool tail-lines \"line 1\nline 2\nline 3\n...\"",
  "tool": {
    "description": "Output the last N lines of text — the `tail -n` / 'show the bottom rows' operation. Set count to how many trailing lines to keep (default 10). Use skip to drop that many lines from the end before taking count. Set number=true to prefix each kept line with its 1-based original line number and a tab.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "count": {
          "default": 10,
          "description": "How many trailing lines to keep (like `tail -n`). Default 10.",
          "maximum": 1000000,
          "minimum": 1,
          "type": "integer"
        },
        "number": {
          "default": false,
          "description": "When true, prefix each kept line with its 1-based original line number and a tab (like `cat -n`). Default false.",
          "type": "boolean"
        },
        "skip": {
          "default": 0,
          "description": "Drop this many lines from the end before taking the last `count` (e.g. skip=1 to ignore a footer row). Default 0.",
          "minimum": 0,
          "type": "integer"
        },
        "text": {
          "description": "The text to take the last lines from (split on newlines).",
          "type": "string"
        }
      },
      "required": [
        "text"
      ],
      "type": "object"
    }
  }
}