Search Documents
search_documentsSearch your Paperless-NGX archive by full-text query to locate documents. Each hit includes metadata but omits OCR content, notes, and custom field values.
Instructions
Full-text search documents.
Per-hit OCR content is stripped. Use get_document_content for a
bounded preview of one hit. Use more_like for similarity search.
notes[].note and custom_fields[].value are always stripped
from search hits; fetch them via get_document or
get_document_notes when needed.
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": "search_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| query | Yes | ||
| more_like | No | ||
| page_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | ||
| count | Yes | ||
| results | No | ||
| previous | No |