# `ToolCall.Providers.URI`

Optional provider for `t:URI.t/0`, encoded as a string.

Enable it per tool module:

    use ToolCall, types: [ToolCall.Providers.URI]

The schema is a plain string; dispatch parses it with `URI.new/1` and passes
a `%URI{}` to the function. Invalid values become
`{:invalid_argument, {name, {:invalid_uri, reason}}}`.

---

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