API Reference
RequestSnapshot
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
| Property | Type | Description | Defined in |
|---|---|---|---|
messages | number | Number of messages in the context window this turn. | observability/tracer.types.ts:75 |
system | boolean | Whether a system prompt was present this turn. | observability/tracer.types.ts:73 |
tools | string[] | Tool names available to the model this turn. | observability/tracer.types.ts:71 |
type | "request" | - | observability/tracer.types.ts:69 |