operations_stat
Retrieve metadata for a single file or directory from a cloud storage remote, returning size, modification time, and type.
Instructions
Stat an object — Returns metadata for a single file or directory, mirroring rclone lsjson on one entry.
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": "operations_stat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fs | No | Remote name or path that contains the item to inspect. | |
| opt | No | Optional JSON object of listing flags, matching those accepted by `operations/list`. | |
| _async | No | Run the command asynchronously. Returns a job id immediately. | |
| _group | No | Assign the request to a custom stats group. | |
| remote | No | Path to the file or directory within `fs` to describe. |