list_files
Fetch a paginated, sortable directory listing from Yandex Disk, specifying path, limit, and offset to control output.
Instructions
List files and folders at the given Yandex Disk path.
Args: path: Path on Yandex Disk (e.g. "/" or "/Documents"). limit: Max items to return (1–100). offset: Offset for pagination. sort: Sort field: name, created, modified, size. Prefix with "-" for descending.
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_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | / | |
| sort | No | name | |
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |