ragflow_link_files_to_datasets
Links file-manager files or folders to RAGFlow datasets as documents in the background without parsing, letting you organize files into knowledge bases for later processing.
Instructions
Turn file-manager files into documents of datasets. Runs in the background and does not parse.
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": {
"file_ids": "<file_ids>",
"dataset_ids": "<dataset_ids>"
},
"name": "ragflow_link_files_to_datasets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | add keeps existing links; replace also removes the documents these files have in datasets not listed (an empty dataset_ids list removes all) | add |
| file_ids | Yes | Files to link; a folder links every file inside it | |
| dataset_ids | Yes | Target datasets |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||