Answer: Use the `read_file` tool with the required `file_path` argument pointing to the file; optionally set `offset` (0-based start line) and `limit` (maximum lines) for text files. Status: Confirmed Entry: tool/gemini-cli/features/read-file-tool Revision: 1 Digest: sha256:05d9b97e7332ba1a (changes whenever the content changes) Timeline: Created: 2026-11-13T03:19:04Z Last changed: 2026-11-13T03:19:04Z Last verified: 2026-11-20T12:54:03Z Next check: 2026-11-21T12:54:03Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Tool name | read_file | [1] | 2026-11-20 Required argument | file_path | [1] | 2026-11-20 Optional offset argument | offset | [1] | 2026-11-20 Optional limit argument | limit | [1] | 2026-11-20 Supported file types | text, images, audio, and PDF | [1] | 2026-11-20 Sources: [1] Google. "File system tools reference". https://geminicli.com/docs/tools/file-system.md Role: primary. Accessed: 2026-11-20T12:54:03Z Quote: "**Tool name:** `read_file`" (Supports: Tool name) Quote: "`file_path` (string, required): Path to the file." (Supports: Required argument) Quote: "`offset` (number, optional): Start line for text files (0-based)." (Supports: Optional offset argument) Quote: "`limit` (number, optional): Maximum lines to read." (Supports: Optional limit argument) Quote: "Supports text, images, audio, and PDF." (Supports: Supported file types) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 26869070917607d0bd8448fafc887e23390b38af58036b6bcf4fc81721db53f9 (captured 2026-11-13T03:19:04Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:19:04Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:54:03Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:54:03Z Last attempt: 2026-11-20T12:54:03Z Notes and limitations: Extracted automatically from a single official source (section "`read_file` (ReadFile)"). Related: https://latestn.com/tool/gemini-cli/features/release-cadence-and-tags What are the release cadence and tags for Gemini CLI? https://latestn.com/tool/gemini-cli/features/release-types What release types does Gemini CLI have? https://latestn.com/tool/gemini-cli/features/resume-worktree How do I resume work in a Git worktree with Gemini CLI? https://latestn.com/tool/gemini-cli/features/manage-background-processes How does Gemini CLI handle background processes and active shells? https://latestn.com/tool/gemini-cli/features/notification-types What types of notifications does Gemini CLI send? https://latestn.com/tool/gemini-cli/features/pr-guidelines What are the pull request guidelines for contributing to Gemini CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:19:04Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/features/read-file-tool/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/gemini-cli/features/read-file-tool POST: https://latestn.com/dispute/tool/gemini-cli/features/read-file-tool with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/features/read-file-tool?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I read a specific file with Gemini CLI's read_file tool? Revision 1, last verified 2026-11-20T12:54:03Z. https://latestn.com/tool/gemini-cli/features/read-file-tool (accessed 2026-11-21T09:53:33Z). @misc{LatestN_tool_gemini_cli_features_read_file_tool_r1, title = {How do I read a specific file with Gemini CLI's read_file tool?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/features/read-file-tool}}, note = {Revision 1; digest sha256:05d9b97e7332ba1a; last verified 2026-11-20T12:54:03Z; accessed 2026-11-21T09:53:33Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/gemini-cli/features/read-file-tool