PDF kit command
file.getHiddenInfo
Find hidden information
What Remove Hidden Information would remove, by category (metadata, attachments, comments, form-fields, hidden-text, hidden-layers, bookmarks, links-actions-scripts, private-data) with counts.
- Kit
- PDF 0.1.0 (.pdf)
- Changes the document
- no
Parameters
None.
Call through pdf_run
text
pdf_run {
"path": "<file>.pdf",
"steps": [{ "command": "file.getHiddenInfo" }]
}The required parameters, with placeholders for their types: not a tested example. pdf_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
categories | object[] | no | |
total | number | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"categories": {
"items": {
"additionalProperties": true,
"properties": {
"category": {
"type": "string"
},
"count": {
"type": "number"
},
"label": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"total": {
"type": "number"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (pdf_commands through @kition/[email protected], built from KitionAI/kition-pdf@b0d2725). As data: commands.jsonl.