Pre-resolved core view of a tool call message.
The editor builder converts the agent's tool-call struct into this core view
so the GUI encoder never touches the agent struct: summary is already the
resolved one-line summary string, status is a core atom
(:running | :complete | :error), and auto_approved_scope is a core atom
(:session | :turn | nil).
Summary
Types
@type auto_approved_scope() :: :session | :turn | nil
Resolved scope that auto-approved this tool call.
@type status() :: :running | :complete | :error
Resolved tool-call execution status.
@type t() :: %Minga.RenderModel.UI.AgentChat.ToolCallView{ auto_approved_scope: auto_approved_scope(), collapsed: boolean(), duration_ms: non_neg_integer() | nil, is_error: boolean(), name: String.t(), result: String.t(), status: status(), summary: String.t() }