ArchAstro.Types.BuiltinToolCatalogEntry (archastro v0.2.0)

Copy Markdown

A catalog entry describing a category of platform-provided (builtin) tools that can be enabled for an agent. Each entry groups one or more individual tools under a shared key, label, and configuration schema.

Summary

Types

t()

@type t() :: %ArchAstro.Types.BuiltinToolCatalogEntry{
  config_schema:
    %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  description: String.t() | ArchAstro.Unset.t(),
  instruction: String.t() | ArchAstro.Unset.t(),
  key: String.t(),
  label: String.t() | ArchAstro.Unset.t(),
  multi_instance_mode: String.t() | ArchAstro.Unset.t(),
  providers: [String.t()] | ArchAstro.Unset.t(),
  requires_integration: boolean() | ArchAstro.Unset.t(),
  server_tool_type: String.t() | ArchAstro.Unset.t(),
  tools: [ArchAstro.Types.BuiltinTool.t()] | ArchAstro.Unset.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()