Foundry. Context. NodeEntry
(foundry v0.1.4)
Copy Markdown
The core typed output struct for per-module context queries. Mirrors the ModuleContext schema but with extended metadata.
Serialized with compact encoding: nil, false, [], and "" values are filtered out at any nesting depth. This optimizes LLM context while future-proofing stub fields (Phase B/D features appear automatically when populated).
Summary
Types
@type agent_step() :: %{ step_id: String.t(), agent_type: String.t(), model: String.t(), input_schema: String.t() | nil, output_schema: String.t() | nil, tools: [String.t()], confidence_threshold: float() | nil, on_low_confidence: String.t() | nil, human_gate: map() | nil, telemetry_prefix: [String.t()] }