ragflow_get_file_ancestors
Lists all parent folders above a file or folder in the RAGFlow file manager, up to the root, to reveal its full hierarchy.
Instructions
List all folders above a file or folder, up to the root.
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_file_ancestors"
}
}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 | |||