stat_file
Retrieve metadata and statistics for files or directories. Supports multiple backends like local, S3, and WebDAV.
Instructions
Get metadata/statistics for a file or directory.
Args:
path: Path to get statistics for
backend: Backend name to use (uses default backend if not specified)
Returns:
File metadata object
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": {
"path": "<path>"
},
"name": "stat_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| backend | No |