Skip to content

file-info

Return filesystem metadata for one or more paths.

Category: Read-only

Parameters

paths (required)
List of filesystem paths to inspect. Absolute paths are used as-is; relative paths are resolved against the current working directory.

Output

One metadata block per path, separated by blank lines. For a path that exists:

path: /absolute/path/to/file.txt
exists: true
size: 1024 bytes
last-modified: 2026-01-15T09:30:00Z
created: 2026-01-10T08:00:00Z
is-directory: false
is-regular-file: true
is-symbolic-link: false
readable: true
writable: true

For a path that does not exist:

path: /absolute/path/to/missing.txt
exists: false

Non-existent paths are reported individually — the tool continues processing the remaining paths rather than failing the whole request. Timestamps are in ISO 8601 UTC. Size is always 0 bytes for directories.