# `Wardrik.Call`

A tool call an agent is running: its `id`, the tool's `name`, and `elapsed_ms`.

# `t`

```elixir
@type t() :: %Wardrik.Call{elapsed_ms: term(), id: term(), name: term()}
```

# `from_json`

```elixir
@spec from_json(map()) :: t()
```

Builds one from the protocol's JSON.

# `to_json`

```elixir
@spec to_json(t()) :: map()
```

Returns it as the protocol's JSON, without fields that are `nil`.

---

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