ragflow_get_parent_folder
Retrieve the direct parent folder of a file or folder in RAGFlow using its ID, so agents can navigate and organize knowledge base content.
Instructions
Get the folder that directly contains a file or folder.
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_id": "<file_id>"
},
"name": "ragflow_get_parent_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File or folder ID in the RAGFlow file manager |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||