List AnythingLLM Documents
list_documentsList locally stored documents in an AnythingLLM instance, optionally scoping to one folder with offset and limit pagination. Use it to browse or page through available document sources.
Instructions
List locally-stored documents in the AnythingLLM instance (GET /api/v1/documents). Pass optional folder (+ offset/limit) to fetch a single folder with server-side pagination.
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 | Pagination page size or 'all' (used when folder is provided). | |
| folder | No | Optional folder name to query via ?folder=<name>. | |
| offset | No | Pagination offset (used when folder is provided). |