A2aEngine.Types.FileWithUri (a2a_engine v0.1.0)

Copy Markdown View Source

A file whose content is referenced by URI.

Wire fields: uri (required), mimeType, name.

Summary

Types

t()

@type t() :: %A2aEngine.Types.FileWithUri{
  mime_type: String.t() | nil,
  name: String.t() | nil,
  uri: String.t()
}

Functions

from_map(m)

@spec from_map(map()) :: {:ok, t()} | {:error, term()}

to_map(t)

@spec to_map(t()) :: map()