ConstReadonlycontexts: StateMappingstate.contexts: every chunk the agent retrieved, across the run.
Readonlyspans: StateMappingstate.spans: every span of every trace of the run, in start order.
state.toolCalls(name): the calls of one tool across the run, from the
assistant messages and the tool spans. toolCalls("run_sql").last.input
is the arguments of the last call; a run without that call skips the
evaluator with the reason no run_sql call in the trace.
Inputs that read evidence from the traces of the run: retrieved contexts, the spans, or the calls of a tool.