update_document_type
Modify an existing document type's name, match pattern, or matching algorithm to correct or refine how Paperless-NGX assigns documents.
Instructions
Update an existing document type's name, matching pattern, or matching algorithm.
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": {
"id": "<id>",
"name": "<name>"
},
"name": "update_document_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| match | No | ||
| matching_algorithm | No | Matching algorithm: 0=None, 1=Any word, 2=All words, 3=Exact match, 4=Regular expression, 5=Fuzzy word, 6=Automatic |