Get File Info
statRetrieve metadata for one or more files or directories: size, type, permissions, MIME type, timestamps, and token estimate. Use token estimate to pre-screen read cost before reading.
Instructions
Get metadata for one or more files or directories: size, type, permissions, MIME type, timestamps, and tokenEstimate. Use tokenEstimate to pre-screen read cost before calling read. Single path: pass path. Batch mode: pass paths[].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Single file path; mutually exclusive with paths | |
| paths | No | Array of file paths for batch mode (max 1000); mutually exclusive with path |