papercortex_search
Search the local Paperless index by meaning to retrieve ranked document IDs, titles, tags, similarity scores, and excerpts for receipt extraction or classification.
Instructions
Find matching documents in the local Paperless search index. Returns ranked IDs, titles, tags, similarity scores and short excerpts as text. Use the IDs for receipt extraction or classification. Use papercortex_query for a synthesized answer. Only indexed documents are searched.
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": {
"query": "<query>"
},
"name": "papercortex_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Match any of these exact, case-sensitive tag names in the index. An empty list leaves results unfiltered. | |
| limit | No | Maximum number of matching documents to return, highest similarity first. | |
| query | Yes | Words or a phrase to embed with Ollama and match by meaning. |