Sort a Paperless document
sort_paperless_documentSort a Paperless inbox document by adding it as a new household item, attaching it to an existing item, dismissing it, or restoring it.
Instructions
Does something with one document from the household's Paperless (documentId from paperless_inbox): action "add" makes a new thing from it (named after the document unless name is given; locationId optional), "attach" puts it on an existing thing (itemId — check with the person which one; paperless_inbox's maybeFor is only a guess), "dismiss" takes it out of the inbox (not about a thing), "restore" puts a dismissed one back. Adding or attaching copies the file into Ferret when the household keeps copies (it's then read for suggested details, which get_item shows a little later — confirm them before applying) and always adds a link back to Paperless. Returns the thing, whether the file was copied, and why not.
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": {
"documentId": "<documentId>",
"action": "<action>"
},
"name": "sort_paperless_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | add: the new thing's name (default: the document's title) | |
| action | Yes | ||
| itemId | No | attach: the thing to put it on | |
| documentId | Yes | The document's number in Paperless, from paperless_inbox | |
| locationId | No | add: where the new thing is kept |