pdf_crop_page
Crop specific pages in PDF documents by defining custom coordinates to remove unwanted margins or content areas and focus on relevant sections.
Instructions
Crop a page in a PDF.
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| pdf_path | Yes | ||
| page_number | Yes | ||
| x0 | Yes | ||
| y0 | Yes | ||
| x1 | Yes | ||
| y1 | Yes | ||
| coordinate_mode | No | bbox | 
Input Schema (JSON Schema)
{
  "properties": {
    "coordinate_mode": {
      "default": "bbox",
      "title": "Coordinate Mode",
      "type": "string"
    },
    "page_number": {
      "title": "Page Number",
      "type": "integer"
    },
    "pdf_path": {
      "title": "Pdf Path",
      "type": "string"
    },
    "x0": {
      "title": "X0",
      "type": "number"
    },
    "x1": {
      "title": "X1",
      "type": "number"
    },
    "y0": {
      "title": "Y0",
      "type": "number"
    },
    "y1": {
      "title": "Y1",
      "type": "number"
    }
  },
  "required": [
    "pdf_path",
    "page_number",
    "x0",
    "y0",
    "x1",
    "y1"
  ],
  "type": "object"
}