Answer: The plugin MUST register an `openDiff` tool and a `closeDiff` tool on its MCP server, and MUST send `ide/diffAccepted` and `ide/diffRejected` notifications to the CLI. Status: Confirmed Entry: tool/gemini-cli/ide-and-apps/diffing-interface-tools Revision: 1 Digest: sha256:fe52e5f63da88fa7 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:18:40Z Last changed: 2026-11-13T03:18:40Z Last verified: 2026-11-20T12:53:15Z Next check: 2026-11-21T12:53:15Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of openDiff tool | openDiff | [1] | 2026-11-20 closeDiff tool | closeDiff | [1] | 2026-11-20 accepted notification | ide/diffAccepted | [1] | 2026-11-20 rejected notification | ide/diffRejected | [1] | 2026-11-20 Sources: [1] Google. "Gemini CLI companion plugin: Interface specification". https://geminicli.com/docs/ide-integration/ide-companion-spec.md Role: primary. Accessed: 2026-11-20T12:53:15Z Quote: "The plugin **MUST** register an `openDiff` tool on its MCP server." (Supports: openDiff tool) Quote: "The plugin **MUST** register a `closeDiff` tool on its MCP server." (Supports: closeDiff tool) Quote: "the plugin **MUST** send an `ide/diffAccepted` notification to the CLI." (Supports: accepted notification) Quote: "the plugin **MUST** send an `ide/diffRejected` notification to the CLI." (Supports: rejected notification) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 60333b0b98053520fc9c9a5a6d8f4158d9e1a509b9e80ad6ca21de4a497b9822 (captured 2026-11-13T03:18:38Z) 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:40Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:53:15Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:53:15Z Last attempt: 2026-11-20T12:53:15Z Notes and limitations: Extracted automatically from a single official source (section "III. The diffing interface"). Related: https://latestn.com/tool/gemini-cli/ide-and-apps/port-file-discovery How does Gemini CLI discover a companion plugin's port file? https://latestn.com/tool/gemini-cli/ide-and-apps/transport-port-requirements What transport and port requirements must a Gemini CLI companion plugin server meet? https://latestn.com/tool/gemini-cli/install-and-setup/build-release-bundle-for-tests How do I build the Gemini CLI release bundle before running integration tests? https://latestn.com/tool/gemini-cli/features/write-file-tool How do I write or overwrite a file using Gemini CLI's write_file tool? https://latestn.com/tool/gemini-cli/ide-and-apps/acp-ide-integrations Which IDEs and editors can integrate with Gemini CLI via ACP? https://latestn.com/tool/gemini-cli/ide-and-apps/build-companion-plugin How do I build a Gemini CLI companion plugin for my IDE? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:18:40Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/ide-and-apps/diffing-interface-tools/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/ide-and-apps/diffing-interface-tools POST: https://latestn.com/dispute/tool/gemini-cli/ide-and-apps/diffing-interface-tools with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/ide-and-apps/diffing-interface-tools?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What tools and notifications must a Gemini CLI companion plugin implement for diffing? Revision 1, last verified 2026-11-20T12:53:15Z. https://latestn.com/tool/gemini-cli/ide-and-apps/diffing-interface-tools (accessed 2026-11-21T09:53:10Z). @misc{LatestN_tool_gemini_cli_ide_and_apps_diffing_interface_tools_r1, title = {What tools and notifications must a Gemini CLI companion plugin implement for diffing?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/ide-and-apps/diffing-interface-tools}}, note = {Revision 1; digest sha256:fe52e5f63da88fa7; last verified 2026-11-20T12:53:15Z; accessed 2026-11-21T09:53:10Z} } 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/ide-and-apps/diffing-interface-tools