ragflow_upload_attachment
Stores a file as a runtime attachment for chat or agent conversations without joining any dataset. Upload from a URL, text, base64 content, or a server file path.
Instructions
Store a file as a runtime attachment for chat or agent conversations; it joins no dataset.
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_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | http(s) URL that RAGFlow downloads instead | |
| 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 | |
| content_base64 | No | File bytes as base64 (small files only) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||