file_info
Inspect a file or directory to get its type, size, and modification time without reading contents; use read_file for UTF-8 content.
Instructions
Inspect a file or directory in an approved root and return its type, size and modification time without reading its contents. Use read_file for UTF-8 content. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative file or directory path inside the approved root. | |
| root | Yes | Name of a configured approved root returned by list_roots. |