# `Nous.Errors.ToolError`
[🔗](https://github.com/nyo16/nous/blob/v0.17.1/lib/nous/errors.ex#L90)

Error during tool execution.

Raised when a tool function fails during execution.

# `t`

```elixir
@type t() :: %Nous.Errors.ToolError{
  __exception__: true,
  attempt: non_neg_integer() | nil,
  message: String.t(),
  original_error: any(),
  tool_name: String.t() | nil
}
```

---

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