Document details
get_document_infoRetrieve a document's metadata—name, folder, path, type, size, page count, timestamps, and OCR status—to answer file-specific questions or verify it before reading its text.
Instructions
Get the details of one document without its text: file name, folder, path in the folder, type, file size, page/slide/sheet count, text length, created, modified and indexed time, and OCR state. Use it for questions about a file itself (how many pages, when it was changed, where it is) or to check a document before reading it; to read its text, use read_document. 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). Pass the doc_id from a search or list result. An unknown or inaccessible doc_id returns an error.
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": {
"doc_id": "<doc_id>"
},
"name": "get_document_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | Document ID (32 hex characters, e.g. 3f2a...) exactly as returned by search_documents, search_fuzzy or list_documents. |