file_info
Retrieves metadata for a filesystem path, including content hash, text encoding, and newline style, to verify files before guarded edits.
Instructions
Report metadata for one path, including hash, encoding and newline for text.
Read-only. The content_hash is what the guarded mutating tools accept as
expected_hash. Symlink metadata describes the link, not its target. With
a workspace rooted at the filesystem root, the reported path keeps its
leading '/' so it is exactly the absolute path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |