LemonAgent.Types.ToolSchemaSnapshot (lemon_agent v0.1.0)

View Source

Immutable tool schema snapshot used for one agent loop run.

Summary

Functions

Build a snapshot from the currently executable tool list.

Types

t()

@type t() :: %LemonAgent.Types.ToolSchemaSnapshot{
  created_at_ms: integer(),
  fingerprint: String.t(),
  id: String.t(),
  tool_names: [String.t()],
  tools: [LemonAgent.Types.AgentTool.t()]
}

Functions

new(tools)

@spec new([LemonAgent.Types.AgentTool.t()]) :: t()

Build a snapshot from the currently executable tool list.