pdf_auto_crop_page
Automatically crop PDF pages by detecting content boundaries to remove blank margins and optimize document layout for better viewing and printing.
Instructions
Automatically crop a PDF page to remove blank margins by detecting content boundaries.
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| pdf_path | Yes | ||
| page_number | No | ||
| padding | No | 
Input Schema (JSON Schema)
{
  "properties": {
    "padding": {
      "default": 10,
      "title": "Padding",
      "type": "number"
    },
    "page_number": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Page Number"
    },
    "pdf_path": {
      "title": "Pdf Path",
      "type": "string"
    }
  },
  "required": [
    "pdf_path"
  ],
  "type": "object"
}