pub async fn get_document(config: &Config, id: &str) -> Result<DocumentResponse>Expand description
Retrieves a document by its UUID, including all associated chunks.
This is the core retrieval function used by both the CLI (ctx get)
and the HTTP server (POST /tools/get).