Reference
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).
Commands
105 commands
accessibility
action
bookmark
bookmark_delete
bookmark_move
bookmark_rename
bookmark_set_page
comment
comment.addAdd a commentchanges the documentcomment.deleteDelete a commentchanges the documentcomment.editEdit a commentchanges the documentcomment.hideHide all commentschanges the documentcomment.listList commentscomment.lockLock a commentchanges the documentcomment.markMark a comment with a checkmarkchanges the documentcomment.previewImagePreview image signature layerscomment.replyReply to a commentchanges the documentcomment.setStatusSet a comment's statuschanges the document
content
edit
file
file.auditSpaceAudit space usagefile.compareCompare filesfile.compareMarkMark differences as commentschanges the documentfile.flattenFlattenchanges the documentfile.getHiddenInfoFind hidden informationfile.getInfoInspect a documentfile.inspectInspect open documentsfile.listRevisionsList revisionsfile.newCreate a PDFchanges the documentfile.protectProtect with passwordschanges the documentfile.removeHiddenRemove hidden information / Sanitizechanges the documentfile.removeMarksRemove header & footer, watermark or backgroundchanges the documentfile.renderRender a previewfile.setBackgroundAdd backgroundchanges the documentfile.setHeaderFooterAdd header and footerchanges the documentfile.setInitialViewInitial viewchanges the documentfile.setWatermarkAdd watermarkchanges the documentfile.unprotectRemove securitychanges the document
fillSign
form
form.addFieldPrepare form: add a fieldchanges the documentform.deleteFieldDelete a fieldchanges the documentform.detectFieldsDetect form fieldschanges the documentform.fillFill in form fieldschanges the documentform.listActionsField actionsform.listFieldsList form fieldsform.resetClear formchanges the documentform.setActionsSet field actionschanges the documentform.setPropsField propertieschanges the documentform.setScriptSet a field's JavaScriptchanges the documentform.setTabOrderSet the tab orderchanges the document
image
link
measure
measure.areaMeasure areachanges the documentmeasure.distanceMeasure distancechanges the documentmeasure.getInfoRead a measurementmeasure.listList measurementsmeasure.perimeterMeasure perimeterchanges the documentmeasure.setScaleSet or read a measurement scalechanges the documentmeasure.setSnapSnap a measurement vertex
object
ocr
page
page.addTextAdd text to a pagechanges the documentpage.deleteDelete pageschanges the documentpage.duplicateDuplicate pageschanges the documentpage.insertBlankInsert a blank pagechanges the documentpage.listImagesList page imagespage.moveMove pageschanges the documentpage.numberNumber pageschanges the documentpage.renderRender a pagepage.rotateRotate pageschanges the documentpage.setBoxSet page boxes / cropchanges the document
pdfa
redaction
script
signature
text
view
Generated from the command list of @kition/[email protected], its kit.json and the kit itself (pdf_commands through @kition/[email protected], built from KitionAI/kition-pdf@b0d2725). All of them as JSON Lines: commands.jsonl.