Open Agent Loops
API Reference

RequestSnapshot

@open-agent-loops/core


Defined in: observability/tracer.types.ts:68

A snapshot of what was disclosed to the model on one request (one turn) — captured by observe(), which sees every ModelRequest. Tracing these across a run is how you watch progressive disclosure: the tool surface, the system prompt, and the size of the context window as they change turn to turn.

Properties

PropertyTypeDescriptionDefined in
messagesnumberNumber of messages in the context window this turn.observability/tracer.types.ts:75
systembooleanWhether a system prompt was present this turn.observability/tracer.types.ts:73
toolsstring[]Tool names available to the model this turn.observability/tracer.types.ts:71
type"request"-observability/tracer.types.ts:69

On this page