List documents
list_documentsBrowse indexed documents by name, type, folder, or modification date to see what exists and locate files; search by content instead when you need full-text lookup.
Instructions
List indexed documents with their metadata, without content, most recently modified first. Use it to see what exists, to find a file by name, or to list the files of one type, folder or period (e.g. all PDFs modified in October). To find documents by what they contain, use search_documents instead. Read-only. Covers only the folders indexed by RootMind that this connection may access, as of the last indexing run (files changed since may be missing). All parameters are optional: search_filename matches part of the file name (case-insensitive), file_type, folder and modified_after/modified_before filter, limit caps the list. Returns per document: name, ID, folder, type, file size, text length and modification date. There is no paging: when the list is cut at limit, narrow the filters or raise limit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of documents (1-200, default 50). | |
| folder | No | Optional: only documents in this indexed folder, by its name, case-insensitive (e.g. 'Unterlagen'; get_statistics lists the folders). | |
| file_type | No | Optional: only this file type, as the lowercase extension without a dot (pdf, docx, xlsx, pptx, md, txt, csv, ...). | |
| modified_after | No | Optional: only documents modified on or after this date (YYYY-MM-DD). | |
| modified_before | No | Optional: only documents modified on or before this date (YYYY-MM-DD). | |
| search_filename | No | Optional: part of the file name, case-insensitive (e.g. 'invoice' finds 'Invoice-2026.pdf'). |