ECA now supports a new clientCapability editor diagnostics, which when supported, server will request client via editor/getDiagnostics request, and client should respond with the diagnostics from the workspace, usually LSP diagnostics, this turns into a LLM toolcall to get the diagnostics.