list_shares
Lists all top-level shared folders on the NAS so you can discover valid root paths, along with each share's volume, free space, and recycle-bin status.
Instructions
List all shared folders on the NAS: the top-level folders every file path starts with (/video). Call this first to discover paths. Shows each share's volume, that volume's free space (shared by every share on it) and whether its recycle bin is on; for how much space a share uses, call get_dir_size.
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": "list_shares"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort_by | No | `name` (default), `user` (the owner), `mtime` (modified) or `crtime` (created). | name |
| sort_direction | No | `asc` (default) or `desc`. | asc |