ragflow_list_files
List files and folders in a specified folder or root, with options for sorting, paging, and keyword filtering, to browse and manage RAGFlow knowledge base content.
Instructions
List files and folders in a file-manager folder (root when parent_id is omitted), plus the folder above it.
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": "ragflow_list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| desc | No | ||
| page | No | Page number, starting at 1 | |
| orderby | No | Sort field, e.g. create_time or name | create_time |
| keywords | No | Match file names | |
| page_size | No | Items per page (RAGFlow caps it at 100) | |
| parent_id | No | Folder ID; omit for the root folder of the file manager |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||