@kjanat/paperless-mcp 2.1.2 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -1
- package/dist/index.js +104 -104
- package/package.json +5 -1
- package/skills/paperless-ngx/SKILL.md +8 -2
- package/skills/paperless-ngx/references/tools.md +32 -20
package/README.md
CHANGED
|
@@ -144,6 +144,7 @@ Parameters:
|
|
|
144
144
|
- `add_tag`: Add a tag to documents
|
|
145
145
|
- `remove_tag`: Remove a tag from documents
|
|
146
146
|
- `modify_tags`: Add and/or remove multiple tags
|
|
147
|
+
- `modify_custom_fields`: Add and/or remove custom fields
|
|
147
148
|
- `delete`: Delete documents
|
|
148
149
|
- `reprocess`: Reprocess documents
|
|
149
150
|
- `set_permissions`: Set document permissions
|
|
@@ -151,6 +152,8 @@ Parameters:
|
|
|
151
152
|
- `split`: Split a document into multiple documents
|
|
152
153
|
- `rotate`: Rotate document pages
|
|
153
154
|
- `delete_pages`: Delete specific pages from a document
|
|
155
|
+
- `edit_pdf`: Reorder, rotate, split, or discard PDF pages
|
|
156
|
+
- `remove_password`: Remove PDF password protection
|
|
154
157
|
- Additional parameters based on `method`:
|
|
155
158
|
- `correspondent`: ID for set_correspondent
|
|
156
159
|
- `document_type`: ID for set_document_type
|
|
@@ -158,11 +161,16 @@ Parameters:
|
|
|
158
161
|
- `tag`: ID for add_tag/remove_tag
|
|
159
162
|
- `add_tags`: Array of tag IDs for modify_tags
|
|
160
163
|
- `remove_tags`: Array of tag IDs for modify_tags
|
|
164
|
+
- `add_custom_fields`: Custom field IDs or id:value pairs for modify_custom_fields
|
|
165
|
+
- `remove_custom_fields`: Array of custom field IDs for modify_custom_fields
|
|
161
166
|
- `permissions`: Object for set_permissions with owner, permissions, merge flag
|
|
162
167
|
- `metadata_document_id`: ID for merge to specify metadata source
|
|
163
168
|
- `delete_originals`: Boolean for merge/split
|
|
164
|
-
- `pages`: String for split "
|
|
169
|
+
- `pages`: String for split (`"1-2,3-4,5"`) or number array for delete_pages (`[2, 3, 4]`)
|
|
165
170
|
- `degrees`: Number for rotate (90, 180, or 270)
|
|
171
|
+
- `operations`: Array of PDF edit operations for edit_pdf
|
|
172
|
+
- `password`: Password for remove_password
|
|
173
|
+
- `update_document`, `delete_original`, `include_metadata`: PDF edit/remove-password flags
|
|
166
174
|
|
|
167
175
|
Examples:
|
|
168
176
|
|