filesfm_list_folder
List visible files and direct child folders in a Files.fm folder, child folders first. sort orders each group: created (default, newest first), modified (last changed first), name, largest; type lists only folders or only files.
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": {
"folder_hash": "<folder_hash>"
},
"name": "filesfm_list_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | ||
| type | No | ||
| limit | No | ||
| offset | No | ||
| folder_hash | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| limit | Yes | ||
| folder | Yes | ||
| offset | Yes |