
7/1/2025 · Lucia Cerchie
What this post added
This post details the technical implementation of integrating a GitHub Copilot chat participant with Confluent's AI Developer Tools. It explains the VS Code tool-calling flow, including the roles of Copilot, LLMs, and the LanguageModelTool API. The post outlines the file structure of the chat participant, focusing on the 'tools' and 'summarizers' subfolders, and provides code examples for tool registration, invocation, and summarization of Kafka topics. It highlights the use of `LanguageModelChatMessage` and `LanguageModelToolResultPart` for communication between the VS Code extension and LLMs, and emphasizes the importance of explicit formatting in messages sent to the AI model.