ragflow_upload_file
Upload files into the RAGFlow file manager for later dataset linking, not directly into datasets; provide text, base64 content, or a server file path to store them.
Instructions
Upload a file into the file manager (not into a dataset); link it to datasets later if needed.
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_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | UTF-8 text content | |
| filename | No | File name; required for text and content_base64 | |
| file_path | No | Path on the MCP server host, inside an allowed upload root | |
| parent_id | No | Folder ID; omit for the root folder of the file manager | |
| content_base64 | No | File bytes as base64 (small files only) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||