---
title: "PDF kit commands — Kition SDK reference"
description: "The 105 commands an AI agent can run on .pdf files with the PDF kit (0.1.0) through pdf_run: what each does, its parameters and its result."
canonical: "https://developer.kition.ai/docs/kits/pdf"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/pdf](https://developer.kition.ai/docs/kits/pdf)

# PDF kit commands

The 105 commands an AI agent can run on .pdf files with the PDF kit (0.1.0) through pdf_run: what each does, its parameters and its result.

## How an agent uses them

`pdf_commands` finds commands by keywords; `pdf_run` runs them as steps, `{ path, steps: [{ command, params }] }`, then saves the file and answers each step’s result. With the server’s `--unified` tools the same commands go through `kit_run`. Setup: [Agents (MCP)](https://developer.kition.ai/docs/agent.md).

## Commands

### accessibility

- [`accessibility.check`](https://developer.kition.ai/docs/kits/pdf/commands/accessibility.check.md): Check for accessibility
- [`accessibility.fix`](https://developer.kition.ai/docs/kits/pdf/commands/accessibility.fix.md): Fix an accessibility problem (changes the document)
- [`accessibility.listFigures`](https://developer.kition.ai/docs/kits/pdf/commands/accessibility.listFigures.md): List figures
- [`accessibility.setAlt`](https://developer.kition.ai/docs/kits/pdf/commands/accessibility.setAlt.md): Set alternate text (changes the document)

### action

- [`action.list`](https://developer.kition.ai/docs/kits/pdf/commands/action.list.md): List actions

### bookmark

- [`bookmark.add`](https://developer.kition.ai/docs/kits/pdf/commands/bookmark.add.md): Add a bookmark (changes the document)
- [`bookmark.addFromStructure`](https://developer.kition.ai/docs/kits/pdf/commands/bookmark.addFromStructure.md): New bookmarks from structure (changes the document)
- [`bookmark.list`](https://developer.kition.ai/docs/kits/pdf/commands/bookmark.list.md): List bookmarks

### bookmark_delete

- [`bookmark_delete`](https://developer.kition.ai/docs/kits/pdf/commands/bookmark_delete.md): Delete a bookmark (changes the document)

### bookmark_move

- [`bookmark_move`](https://developer.kition.ai/docs/kits/pdf/commands/bookmark_move.md): Move a bookmark (changes the document)

### bookmark_rename

- [`bookmark_rename`](https://developer.kition.ai/docs/kits/pdf/commands/bookmark_rename.md): Rename a bookmark (changes the document)

### bookmark_set_page

- [`bookmark_set_page`](https://developer.kition.ai/docs/kits/pdf/commands/bookmark_set_page.md): Set a bookmark's page (changes the document)

### comment

- [`comment.add`](https://developer.kition.ai/docs/kits/pdf/commands/comment.add.md): Add a comment (changes the document)
- [`comment.delete`](https://developer.kition.ai/docs/kits/pdf/commands/comment.delete.md): Delete a comment (changes the document)
- [`comment.edit`](https://developer.kition.ai/docs/kits/pdf/commands/comment.edit.md): Edit a comment (changes the document)
- [`comment.hide`](https://developer.kition.ai/docs/kits/pdf/commands/comment.hide.md): Hide all comments (changes the document)
- [`comment.list`](https://developer.kition.ai/docs/kits/pdf/commands/comment.list.md): List comments
- [`comment.lock`](https://developer.kition.ai/docs/kits/pdf/commands/comment.lock.md): Lock a comment (changes the document)
- [`comment.mark`](https://developer.kition.ai/docs/kits/pdf/commands/comment.mark.md): Mark a comment with a checkmark (changes the document)
- [`comment.previewImage`](https://developer.kition.ai/docs/kits/pdf/commands/comment.previewImage.md): Preview image signature layers
- [`comment.reply`](https://developer.kition.ai/docs/kits/pdf/commands/comment.reply.md): Reply to a comment (changes the document)
- [`comment.setStatus`](https://developer.kition.ai/docs/kits/pdf/commands/comment.setStatus.md): Set a comment's status (changes the document)

### content

- [`content.delete`](https://developer.kition.ai/docs/kits/pdf/commands/content.delete.md): Delete added content (changes the document)
- [`content.list`](https://developer.kition.ai/docs/kits/pdf/commands/content.list.md): List added content
- [`content.set`](https://developer.kition.ai/docs/kits/pdf/commands/content.set.md): Edit added content (changes the document)

### edit

- [`edit.batch`](https://developer.kition.ai/docs/kits/pdf/commands/edit.batch.md): Edit in one step (changes the document)
- [`edit.redo`](https://developer.kition.ai/docs/kits/pdf/commands/edit.redo.md): Redo (changes the document)
- [`edit.undo`](https://developer.kition.ai/docs/kits/pdf/commands/edit.undo.md): Undo (changes the document)

### file

- [`file.auditSpace`](https://developer.kition.ai/docs/kits/pdf/commands/file.auditSpace.md): Audit space usage
- [`file.compare`](https://developer.kition.ai/docs/kits/pdf/commands/file.compare.md): Compare files
- [`file.compareMark`](https://developer.kition.ai/docs/kits/pdf/commands/file.compareMark.md): Mark differences as comments (changes the document)
- [`file.flatten`](https://developer.kition.ai/docs/kits/pdf/commands/file.flatten.md): Flatten (changes the document)
- [`file.getHiddenInfo`](https://developer.kition.ai/docs/kits/pdf/commands/file.getHiddenInfo.md): Find hidden information
- [`file.getInfo`](https://developer.kition.ai/docs/kits/pdf/commands/file.getInfo.md): Inspect a document
- [`file.inspect`](https://developer.kition.ai/docs/kits/pdf/commands/file.inspect.md): Inspect open documents
- [`file.listRevisions`](https://developer.kition.ai/docs/kits/pdf/commands/file.listRevisions.md): List revisions
- [`file.new`](https://developer.kition.ai/docs/kits/pdf/commands/file.new.md): Create a PDF (changes the document)
- [`file.protect`](https://developer.kition.ai/docs/kits/pdf/commands/file.protect.md): Protect with passwords (changes the document)
- [`file.removeHidden`](https://developer.kition.ai/docs/kits/pdf/commands/file.removeHidden.md): Remove hidden information / Sanitize (changes the document)
- [`file.removeMarks`](https://developer.kition.ai/docs/kits/pdf/commands/file.removeMarks.md): Remove header & footer, watermark or background (changes the document)
- [`file.render`](https://developer.kition.ai/docs/kits/pdf/commands/file.render.md): Render a preview
- [`file.setBackground`](https://developer.kition.ai/docs/kits/pdf/commands/file.setBackground.md): Add background (changes the document)
- [`file.setHeaderFooter`](https://developer.kition.ai/docs/kits/pdf/commands/file.setHeaderFooter.md): Add header and footer (changes the document)
- [`file.setInitialView`](https://developer.kition.ai/docs/kits/pdf/commands/file.setInitialView.md): Initial view (changes the document)
- [`file.setWatermark`](https://developer.kition.ai/docs/kits/pdf/commands/file.setWatermark.md): Add watermark (changes the document)
- [`file.unprotect`](https://developer.kition.ai/docs/kits/pdf/commands/file.unprotect.md): Remove security (changes the document)

### fillSign

- [`fillSign.add`](https://developer.kition.ai/docs/kits/pdf/commands/fillSign.add.md): Fill & Sign: type text or place a mark (changes the document)
- [`fillSign.setDateFormat`](https://developer.kition.ai/docs/kits/pdf/commands/fillSign.setDateFormat.md): Date format for Fill & Sign (changes the document)

### form

- [`form.addField`](https://developer.kition.ai/docs/kits/pdf/commands/form.addField.md): Prepare form: add a field (changes the document)
- [`form.deleteField`](https://developer.kition.ai/docs/kits/pdf/commands/form.deleteField.md): Delete a field (changes the document)
- [`form.detectFields`](https://developer.kition.ai/docs/kits/pdf/commands/form.detectFields.md): Detect form fields (changes the document)
- [`form.fill`](https://developer.kition.ai/docs/kits/pdf/commands/form.fill.md): Fill in form fields (changes the document)
- [`form.listActions`](https://developer.kition.ai/docs/kits/pdf/commands/form.listActions.md): Field actions
- [`form.listFields`](https://developer.kition.ai/docs/kits/pdf/commands/form.listFields.md): List form fields
- [`form.reset`](https://developer.kition.ai/docs/kits/pdf/commands/form.reset.md): Clear form (changes the document)
- [`form.setActions`](https://developer.kition.ai/docs/kits/pdf/commands/form.setActions.md): Set field actions (changes the document)
- [`form.setProps`](https://developer.kition.ai/docs/kits/pdf/commands/form.setProps.md): Field properties (changes the document)
- [`form.setScript`](https://developer.kition.ai/docs/kits/pdf/commands/form.setScript.md): Set a field's JavaScript (changes the document)
- [`form.setTabOrder`](https://developer.kition.ai/docs/kits/pdf/commands/form.setTabOrder.md): Set the tab order (changes the document)

### image

- [`image.edit`](https://developer.kition.ai/docs/kits/pdf/commands/image.edit.md): Edit an image (changes the document)

### link

- [`link.add`](https://developer.kition.ai/docs/kits/pdf/commands/link.add.md): Add a link (changes the document)
- [`link.addFromUrls`](https://developer.kition.ai/docs/kits/pdf/commands/link.addFromUrls.md): Create links from URLs (changes the document)
- [`link.delete`](https://developer.kition.ai/docs/kits/pdf/commands/link.delete.md): Delete a link (changes the document)
- [`link.edit`](https://developer.kition.ai/docs/kits/pdf/commands/link.edit.md): Edit a link (changes the document)
- [`link.list`](https://developer.kition.ai/docs/kits/pdf/commands/link.list.md): List links
- [`link.removeAll`](https://developer.kition.ai/docs/kits/pdf/commands/link.removeAll.md): Remove all links (changes the document)

### measure

- [`measure.area`](https://developer.kition.ai/docs/kits/pdf/commands/measure.area.md): Measure area (changes the document)
- [`measure.distance`](https://developer.kition.ai/docs/kits/pdf/commands/measure.distance.md): Measure distance (changes the document)
- [`measure.getInfo`](https://developer.kition.ai/docs/kits/pdf/commands/measure.getInfo.md): Read a measurement
- [`measure.list`](https://developer.kition.ai/docs/kits/pdf/commands/measure.list.md): List measurements
- [`measure.perimeter`](https://developer.kition.ai/docs/kits/pdf/commands/measure.perimeter.md): Measure perimeter (changes the document)
- [`measure.setScale`](https://developer.kition.ai/docs/kits/pdf/commands/measure.setScale.md): Set or read a measurement scale (changes the document)
- [`measure.setSnap`](https://developer.kition.ai/docs/kits/pdf/commands/measure.setSnap.md): Snap a measurement vertex

### object

- [`object.list`](https://developer.kition.ai/docs/kits/pdf/commands/object.list.md): List editable objects
- [`object.move`](https://developer.kition.ai/docs/kits/pdf/commands/object.move.md): Move objects together (changes the document)

### ocr

- [`ocr.recognize`](https://developer.kition.ai/docs/kits/pdf/commands/ocr.recognize.md): Recognize text (OCR) (changes the document)
- [`ocr.status`](https://developer.kition.ai/docs/kits/pdf/commands/ocr.status.md): OCR status

### page

- [`page.addText`](https://developer.kition.ai/docs/kits/pdf/commands/page.addText.md): Add text to a page (changes the document)
- [`page.delete`](https://developer.kition.ai/docs/kits/pdf/commands/page.delete.md): Delete pages (changes the document)
- [`page.duplicate`](https://developer.kition.ai/docs/kits/pdf/commands/page.duplicate.md): Duplicate pages (changes the document)
- [`page.insertBlank`](https://developer.kition.ai/docs/kits/pdf/commands/page.insertBlank.md): Insert a blank page (changes the document)
- [`page.listImages`](https://developer.kition.ai/docs/kits/pdf/commands/page.listImages.md): List page images
- [`page.move`](https://developer.kition.ai/docs/kits/pdf/commands/page.move.md): Move pages (changes the document)
- [`page.number`](https://developer.kition.ai/docs/kits/pdf/commands/page.number.md): Number pages (changes the document)
- [`page.render`](https://developer.kition.ai/docs/kits/pdf/commands/page.render.md): Render a page
- [`page.rotate`](https://developer.kition.ai/docs/kits/pdf/commands/page.rotate.md): Rotate pages (changes the document)
- [`page.setBox`](https://developer.kition.ai/docs/kits/pdf/commands/page.setBox.md): Set page boxes / crop (changes the document)

### pdfa

- [`pdfa.convert`](https://developer.kition.ai/docs/kits/pdf/commands/pdfa.convert.md): Save as PDF/A (changes the document)
- [`pdfa.verify`](https://developer.kition.ai/docs/kits/pdf/commands/pdfa.verify.md): Verify PDF/A

### redaction

- [`redaction.apply`](https://developer.kition.ai/docs/kits/pdf/commands/redaction.apply.md): Apply redactions (changes the document)
- [`redaction.clear`](https://developer.kition.ai/docs/kits/pdf/commands/redaction.clear.md): Remove redaction marks (changes the document)
- [`redaction.mark`](https://developer.kition.ai/docs/kits/pdf/commands/redaction.mark.md): Mark for redaction (changes the document)

### script

- [`script.enabled`](https://developer.kition.ai/docs/kits/pdf/commands/script.enabled.md): JavaScript on or off (changes the document)
- [`script.list`](https://developer.kition.ai/docs/kits/pdf/commands/script.list.md): Document JavaScripts
- [`script.run`](https://developer.kition.ai/docs/kits/pdf/commands/script.run.md): Run JavaScript (changes the document)
- [`script.set`](https://developer.kition.ai/docs/kits/pdf/commands/script.set.md): Edit a document JavaScript (changes the document)

### signature

- [`signature.list`](https://developer.kition.ai/docs/kits/pdf/commands/signature.list.md): List and validate signatures

### text

- [`text.edit`](https://developer.kition.ai/docs/kits/pdf/commands/text.edit.md): Edit text (changes the document)
- [`text.extract`](https://developer.kition.ai/docs/kits/pdf/commands/text.extract.md): Extract text
- [`text.find`](https://developer.kition.ai/docs/kits/pdf/commands/text.find.md): Find text
- [`text.listLines`](https://developer.kition.ai/docs/kits/pdf/commands/text.listLines.md): List text lines
- [`text.listParagraphs`](https://developer.kition.ai/docs/kits/pdf/commands/text.listParagraphs.md): List paragraphs
- [`text.select`](https://developer.kition.ai/docs/kits/pdf/commands/text.select.md): Select text

### view

- [`view.rotate`](https://developer.kition.ai/docs/kits/pdf/commands/view.rotate.md): Rotate View
- [`view.setLayout`](https://developer.kition.ai/docs/kits/pdf/commands/view.setLayout.md): Page Layout

Generated from the command list of @kition/pdf-darwin-arm64@0.1.0, its kit.json and the kit itself (pdf_commands through @kition/cli@0.1.1, built from KitionAI/kition-pdf@b0d2725). All of them as JSON Lines: [commands.jsonl](https://developer.kition.ai/commands.jsonl).
