anythingllm_get_document
Fetch metadata and details of a document in AnythingLLM by providing its internal doc_name.
Instructions
Get metadata and details for a specific document by its stored name.
The doc_name is the internal document identifier returned by list_documents (e.g. 'custom-documents/myfile.pdf-abc123.json').
Args: doc_name: Document name/path as returned by the documents API.
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_name": "<doc_name>"
},
"name": "anythingllm_get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |