using System.Text.Json.Nodes;
using AIStudio.Tools.RAG;
namespace AIStudio.Tools.ToolCallingSystem.ToolCallingImplementations.Mailboxes;
///
/// What the model and the user get of a mail which the model read, cf. ReadMailTool.
///
/// The result for the model, with every text filtered for prompt injections.
/// The source of the mail, which the answer lists.
/// What the user reads of the mail under its source.
internal sealed record MailReadingResult(JsonObject Json, Source Source, SourcePassage Passage);