Answer: Plan Mode restricts write tools: write_file and replace are only allowed for .md files in the plans directory or a custom plans directory. All other tools besides the listed allowed read/search/research/interaction/MCP-read/skills tools are restricted. Status: Confirmed Entry: tool/gemini-cli/permissions-and-security/plan-mode-tool-restrictions Revision: 1 Digest: sha256:5ff74ea4d13adb46 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:17:39Z Last changed: 2026-11-13T03:17:39Z Last verified: 2026-11-20T12:51:15Z Next check: 2026-11-21T12:51:15Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of restricted write tools | write_file | [1] | 2026-11-20 allowed file types for write | .md | [1] | 2026-11-20 allowed plans directory | ~/.gemini/tmp///plans/ | [1] | 2026-11-20 Sources: [1] Google. "Plan Mode". https://geminicli.com/docs/cli/plan-mode.md Role: primary. Accessed: 2026-11-20T12:51:15Z Quote: "[`write_file`](/docs/tools/file-system#3-write_file-writefile) and" (Supports: restricted write tools) Quote: "only allowed for `.md`" (Supports: allowed file types for write) Quote: "files in the `~/.gemini/tmp///plans/` directory or your" (Supports: allowed plans directory) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 1201c5709ef5976bf61ffb771879c68310e35fd4b2986a90c29d16f57c329d31 (captured 2026-11-13T03:17:39Z) 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:39Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:51:15Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:51:15Z Last attempt: 2026-11-20T12:51:15Z Notes and limitations: Extracted automatically from a single official source (section "Tool Restrictions"). Related: https://latestn.com/tool/gemini-cli/permissions-and-security/plan-mode-yolo-availability Is Gemini CLI's enter_plan_mode tool available in YOLO mode? https://latestn.com/tool/gemini-cli/permissions-and-security/proxy-allowed-domains How do I restrict which domains the Gemini CLI sandbox proxy allows? https://latestn.com/tool/gemini-cli/permissions-and-security/remote-subagent-authentication How do I configure authentication for a remote subagent in Gemini CLI? https://latestn.com/tool/gemini-cli/permissions-and-security/hook-security-risks What are the security risks of using hooks in Gemini CLI? https://latestn.com/tool/gemini-cli/permissions-and-security/hook-security-risks-2 What are the security risks of using Gemini CLI hooks and how can I mitigate them? https://latestn.com/tool/gemini-cli/permissions-and-security/mcp-oauth-authentication How do I set up OAuth authentication for a remote MCP server in Gemini CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:17:39Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/permissions-and-security/plan-mode-tool-restrictions/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/permissions-and-security/plan-mode-tool-restrictions POST: https://latestn.com/dispute/tool/gemini-cli/permissions-and-security/plan-mode-tool-restrictions with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/permissions-and-security/plan-mode-tool-restrictions?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What tools are restricted in Gemini CLI Plan Mode? Revision 1, last verified 2026-11-20T12:51:15Z. https://latestn.com/tool/gemini-cli/permissions-and-security/plan-mode-tool-restrictions (accessed 2026-11-21T10:03:38Z). @misc{LatestN_tool_gemini_cli_permissions_and_security_plan_mode_tool_restrictions_r1, title = {What tools are restricted in Gemini CLI Plan Mode?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/permissions-and-security/plan-mode-tool-restrictions}}, note = {Revision 1; digest sha256:5ff74ea4d13adb46; last verified 2026-11-20T12:51:15Z; accessed 2026-11-21T10:03:38Z} } 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/permissions-and-security/plan-mode-tool-restrictions