list_files
List files and directories in a specified path. Optionally choose a backend to access different file systems.
Instructions
List files and directories in the specified path.
Args:
path: The directory path to list (default: "/")
backend: Backend name to use (uses default backend if not specified)
Returns:
List of entries with their metadata
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 | / | |
| backend | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |