ToolCall. Providers. URI
(ToolCall v0.4.0)
Copy Markdown
Optional provider for 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}}}.