Get file info
project_get_file_infoRetrieve file or directory metadata—kind, size, and modification time—to verify a path exists without reading its contents.
Instructions
File/directory metadata (kind, size, modification time). Use when: you only need size/mtime/kind, or want to check that a path exists. Avoid when: you need the file's contents (project_read_file). Speed: very fast; cache validated by mtime+size. Output: file_info: relative_path, kind, size_bytes, modified_unix_seconds. Batch-safe: yes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relative_path | Yes | Path inside the workspace (relative, or absolute inside the workspace) |