document_processor
Process and transform documents: apply OCR, rotate pages, add watermarks, redact sensitive content, import annotations, and convert to PDF/A, images, or Office formats.
Instructions
Process, convert, and transform documents using the Nutrient API. Reads input files from the local file system or sandbox (if enabled) and writes results back locally.
Features: • Import XFDF annotations • Flatten annotations • OCR processing • Page rotation • Watermarking (text/image) • Redaction creation and application
Output formats: PDF, PDF/A, images (PNG, JPEG, WebP), Office (DOCX, XLSX, PPTX)
For structured data extraction (typed JSON or Markdown with bounding boxes and confidence scores), use the dedicated parse_document tool instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | Yes | A path to the output file to. (if required) Resolves to sandbox path if enabled, otherwise resolves to the local file system. | |
| instructions | Yes | Build instructions. |