Answer: You can chain `@` references to include multiple files in a single Gemini CLI prompt, giving the agent a complete picture of the dependencies. Status: Confirmed Entry: tool/gemini-cli/memory-and-context/include-multiple-files Revision: 1 Digest: sha256:d7dd7893da17a43e (changes whenever the content changes) Timeline: Created: 2026-11-13T03:17:56Z Last changed: 2026-11-13T03:17:56Z Last verified: 2026-11-20T12:51:49Z Next check: 2026-11-21T12:51:49Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of method | chain `@` references | [1] | 2026-11-20 example prompt | `@src/components/UserProfile.tsx @src/types/User.ts Refactor the component to use the updated User interface.` | [1] | 2026-11-20 Sources: [1] Google. "File management with Gemini CLI". https://geminicli.com/docs/cli/tutorials/file-management.md Role: primary. Accessed: 2026-11-20T12:51:49Z Quote: "You can chain `@` references to give" (Supports: method) Quote: "`@src/components/UserProfile.tsx @src/types/User.ts Refactor the component to use the updated User interface.`" (Supports: example prompt) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: cce3fb6b899356104eae74e93f302d7744cf7f4374f39bbbd84560fddc3d530a (captured 2026-11-13T03:17:55Z) 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:17:56Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:51:49Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:51:49Z Last attempt: 2026-11-20T12:51:49Z Notes and limitations: Extracted automatically from a single official source (section "Working with multiple files"). Related: https://latestn.com/tool/gemini-cli/memory-and-context/memory-file-locations Where does Gemini CLI store project-specific and global memory files? https://latestn.com/tool/gemini-cli/memory-and-context/memory-loading-behavior How does Gemini CLI load stored memories into future sessions? https://latestn.com/tool/gemini-cli/memory-and-context/modularize-context-imports How do I modularize context with imports in Gemini CLI? https://latestn.com/tool/gemini-cli/memory-and-context/import-file-syntax How do I import another file into a GEMINI.md file in Gemini CLI? https://latestn.com/tool/gemini-cli/memory-and-context/import-path-formats Which path formats can Gemini CLI use for GEMINI.md imports? https://latestn.com/tool/gemini-cli/memory-and-context/include-directory-context How do I include an entire directory as context in Gemini CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:17:56Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/memory-and-context/include-multiple-files/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/memory-and-context/include-multiple-files POST: https://latestn.com/dispute/tool/gemini-cli/memory-and-context/include-multiple-files with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/memory-and-context/include-multiple-files?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I include multiple files in a single Gemini CLI prompt? Revision 1, last verified 2026-11-20T12:51:49Z. https://latestn.com/tool/gemini-cli/memory-and-context/include-multiple-files (accessed 2026-11-21T09:53:09Z). @misc{LatestN_tool_gemini_cli_memory_and_context_include_multiple_files_r1, title = {How do I include multiple files in a single Gemini CLI prompt?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/memory-and-context/include-multiple-files}}, note = {Revision 1; digest sha256:d7dd7893da17a43e; last verified 2026-11-20T12:51:49Z; accessed 2026-11-21T09:53:09Z} } 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/memory-and-context/include-multiple-files