get_doc_file
Read the full content of a documentation file by its relative path. Use offset and limit to paginate large files and avoid context limits.
Instructions
Read the full content of a specific documentation file by its relative path.
Use this tool when you know the exact file to read — typically after get_project_docs_overview or search_project_docs has identified the relevant file. It is read-only and has no side effects.
For large files, use offset and limit to read in chunks and avoid exceeding context limits. offset is a character (not line) position. Omit both to read the entire file.
Returns an error if the file does not exist or the path is outside the doc root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max characters to return (default: entire file). Use together with offset to read in chunks. | |
| offset | No | Character offset to start reading from (default: 0). Use for paginating large files. | |
| relative_path | Yes | Path relative to the project doc root (e.g. "PRD.md" or "reports/weekly.md") |