# `MingaAgent.ToolApproval.Preview`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga_agent/tool_approval/preview.ex#L1)

Structured, editor-safe preview shown on an inline tool approval card.

# `kind`

```elixir
@type kind() :: :diff | :command | :target | :args
```

Structured preview kind for an approval card.

# `t`

```elixir
@type t() :: %MingaAgent.ToolApproval.Preview{
  kind: kind(),
  lines: [String.t()],
  summary: String.t()
}
```

A public approval preview rendered by editor frontends.

# `new`

```elixir
@spec new(kind(), String.t(), [String.t()]) :: t()
```

Creates an approval preview.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
