namespace AIStudio.Tools.ToolCallingSystem.Harness; /// /// One tool call a model requested. /// /// /// Invalid calls are carried through rather than dropped: the model has to learn that its call /// was rejected, otherwise it waits for a result that never arrives. /// /// /// The ID correlating this call with its result. Empty when the provider did not supply one and /// the adapter cannot invent one, which makes the call unanswerable. /// /// The name of the tool the model asked for. /// The arguments as the model wrote them, to be treated as untrusted input. /// Whether name and arguments are usable at all. public sealed record ToolCallingRequestedCall(string CallId, string ToolName, string ArgumentsJson, bool IsValid);