read_file_by_path
Retrieve a file's content using its exact absolute path on disk. Returns an error if the path is not indexed; use refresh_index to add it.
Instructions
Look up a file by its absolute on-disk path and return the same shape as read_file. The path must EXACTLY match what CtxNest indexed — no symlink resolution, no path normalisation beyond what the OS does, no trailing-slash tolerance. Returns isError if no row matches (the file may exist on disk but not be indexed — try refresh_index). Read-only; no side effects, auth, or rate limits. Use when an agent has a path from its working directory but no file ID; if you have the ID, prefer read_file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path on disk (must match the path stored in CtxNest) |