Answer: Hook telemetry may include inputs (prompts, code) and outputs (decisions, reasons) unless disabled. You can control privacy by disabling prompt logging with "logPrompts": false in telemetry settings, and individual hooks can suppress their metadata from logs and telemetry by returning "suppressOutput": true. Status: Confirmed Entry: tool/gemini-cli/privacy-and-data/hook-privacy Revision: 1 Digest: sha256:aa695719a1e7f730 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:18:34Z Last changed: 2026-11-13T03:18:34Z Last verified: 2026-11-20T12:53:03Z Next check: 2026-11-21T12:53:03Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Data collected | inputs (prompts, code) and outputs (decisions, reasons) | [1] | 2026-11-20 Disable PII logging setting | logPrompts | [1] | 2026-11-20 Suppress output setting | suppressOutput | [1] | 2026-11-20 Sources: [1] Google. "Hooks Best Practices". https://geminicli.com/docs/hooks/best-practices.md Role: primary. Accessed: 2026-11-20T12:53:03Z Quote: "Hook telemetry may include inputs (prompts, code) and outputs (decisions, reasons) unless disabled." (Supports: Data collected) Quote: ""logPrompts": false" (Supports: Disable PII logging setting) Quote: ""suppressOutput": true" (Supports: Suppress output setting) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: fb44fbcfaccc3cdb7895d989f3808bed66cfa6516411535c4c4d9077d242e7bc (captured 2026-11-13T03:18:32Z) 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:18:34Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:53:03Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:53:03Z Last attempt: 2026-11-20T12:53:03Z Notes and limitations: Extracted automatically from a single official source (section "Privacy considerations"). Related: https://latestn.com/tool/gemini-cli/privacy-and-data/license What license is Gemini CLI released under? https://latestn.com/tool/gemini-cli/privacy-and-data/session-storage-location Where does Gemini CLI store saved session history? https://latestn.com/tool/gemini-cli/privacy-and-data/usage-statistics-opt-out How do I opt out of usage statistics in Gemini CLI? https://latestn.com/tool/gemini-cli/pricing-and-limits/token-caching-auth-methods Which authentication methods support token caching in Gemini CLI? https://latestn.com/tool/gemini-cli/privacy-and-data/checkpoint-storage-location Where does Gemini CLI store checkpoint data? https://latestn.com/tool/gemini-cli/privacy-and-data/client-identification-telemetry How does Gemini CLI identify clients in telemetry and can I customize it? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:18:34Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/privacy-and-data/hook-privacy/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/privacy-and-data/hook-privacy POST: https://latestn.com/dispute/tool/gemini-cli/privacy-and-data/hook-privacy with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/privacy-and-data/hook-privacy?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What data does Gemini CLI collect from hooks and how can I control privacy settings? Revision 1, last verified 2026-11-20T12:53:03Z. https://latestn.com/tool/gemini-cli/privacy-and-data/hook-privacy (accessed 2026-11-21T10:01:03Z). @misc{LatestN_tool_gemini_cli_privacy_and_data_hook_privacy_r1, title = {What data does Gemini CLI collect from hooks and how can I control privacy settings?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/privacy-and-data/hook-privacy}}, note = {Revision 1; digest sha256:aa695719a1e7f730; last verified 2026-11-20T12:53:03Z; accessed 2026-11-21T10:01:03Z} } 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/privacy-and-data/hook-privacy