File or folder metadata
nas_file_statRetrieve file type, size, and Unix timestamps for one or more NAS paths, with per-path results so a missing path does not stop others.
Instructions
Get type, size and timestamps for one or more paths. The result always has items[], one per path in the order given; check each item for success, because one missing path does not stop the others. size and the time fields are strings; times are Unix seconds. The mode field is unreliable on existing paths, so do not use it to decide whether something is readable or writable.
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": {
"paths": "<paths>"
},
"name": "nas_file_stat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Paths to inspect. Absolute NAS paths (1 to 50). |