namespace AIStudio.Provider.OpenAI;
///
/// One fragment of a tool call in a streamed Chat Completions answer.
///
///
/// A tool call arrives in pieces: the ID and the name usually with the first fragment, the
/// arguments spread over as many as the model needs. The index is what ties the pieces of one
/// call together while another call is being written at the same time.
///
/// Which call this fragment belongs to; null when the provider omits it.
/// The ID of the call, sent once by most providers and repeated by some.
/// The kind of call, which is "function" for everything we offer.
/// The name and the arguments fragment of the call.
public sealed record ChatCompletionToolCallDelta(int? Index, string? Id, string? Type, ChatCompletionToolFunction? Function);