Create document type
create_document_typeCreate a new document type in Paperless-ngx. Define a unique name, matching algorithm, and permissions. Check existing types first to avoid near-duplicate entries.
Instructions
Create a new document type. Check list_document_types first: near-duplicate entries are hard to merge later.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "create_document_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name. Must be unique. | |
| match | No | Text this object matches against, interpreted per matching_algorithm. | |
| owner | No | Owning user ID, or null for unowned. | |
| is_insensitive | No | Case-insensitive matching. Defaults to true. | |
| set_permissions | No | Object-level permissions. Overwrites existing permissions entirely unless the endpoint supports merging. | |
| matching_algorithm | No | Matching algorithm: 0=none, 1=any word, 2=all words, 3=exact, 4=regex, 5=fuzzy, 6=auto. Use 6 (auto) unless the user asked for a specific rule. |