lib/spatio/model/preconfigured_agent.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.22.0 (https://openapi-generator.tech).
# Do not edit this file manually.

defmodule Spatio.Model.PreconfiguredAgent do
  @moduledoc """
  Curated featured agents — read-only, surfaced by the renderer's \"preconfigured\" picker. Not full Agent records; minimal display metadata only. 
  """

  @derive JSON.Encoder
  defstruct [
    :agentId,
    :name,
    :tagline,
    :description,
    :icon,
    :hasAllTools,
    :toolCount
  ]

  @type t :: %__MODULE__{
    :agentId => String.t,
    :name => String.t,
    :tagline => String.t | nil,
    :description => String.t | nil,
    :icon => String.t | nil,
    :hasAllTools => boolean() | nil,
    :toolCount => integer() | nil
  }

  def decode(value) do
    value
  end
end