google-genai 2.24.0 went out on September 16 (release notes). For anyone evaluating retrieval-augmented pipelines on this SDK, one feature line stands out:
Add RetrievalCallStep and RetrievalResultStep to interactions schema and SDKs.
That line (commit 9052efd) is the entire retrieval story in the notes. So the question to settle before anyone refactors an eval harness: should retrieval tracing move onto these types now, or should teams inspect the generated types and a real interaction first?
What the release establishes
Two named step types now exist in the interactions schema and “SDKs”. That gives a retrieval call and its result a typed place in the interaction record. If they are populated the way the names suggest, a per-turn record of what was retrieved would sit next to the rest of the interaction, which is what offline recall checks and groundedness review would want.
What it does not establish
The notes list no fields for either type. They don’t say which retrieval tools, backends or corpora emit these steps, or whether the steps are populated automatically. There is no example payload, and nothing about ranking, relevance scores, citations or grounding metadata. “SDKs” is not broken down by language. So “the result step is a per-turn retrieval log” is an inference from two type names, not documented behavior. Upgrading gets you the types. It does not show that the retrieval your pipeline already runs will appear as these steps.
Why this matters for evaluation
A trace type is not an evaluation. Even if RetrievalResultStep turns out to carry everything you want, a recall number still depends on things no schema supplies:
- a labeled set of relevant items per query, from your own data
- a fixed corpus snapshot, so a re-index between runs doesn’t pass for a regression
- a baseline from your current retriever’s own logs, so the new trace is compared rather than trusted
- if the result step carries only identifiers, a join back to your store to see the retrieved text
Without field definitions, nobody can say from the notes whether a result step holds identifiers, passages or something else, which decides how much of that list it can serve.
A conditional path
If you’re on 2.23.0 and retrieval traceability is on your roadmap, 2.24.0 is a reasonable candidate upgrade. Before building metrics or dashboards on the new steps, I would check:
- Read the generated RetrievalCallStep and RetrievalResultStep definitions in the installed package. Note which fields exist and which are optional.
- Capture one real interaction from your own setup and see whether either step appears at all.
- For that same query, compare what the result step contains with what your retriever returned in its own logging. Differences in count, order or identifiers are the first thing to explain.
- Record the SDK version with every eval run, so a later schema change shows up in the results instead of silently shifting a metric.
- Keep your existing retrieval logging in place until steps 1 to 3 hold up.
One boundary worth keeping clear: the same release also fixes the automatic function calling budget (“Do not run functions once the automatic function calling budget is spent”). That is about stopping execution inside tool loops, not about what retrieval data you can observe, and it deserves its own thread. The other items (credential APIs, environments files upload and download, README model updates) aren’t retrieval features either.
Open question
For anyone who has already read the generated types or captured an interaction on 2.24.0: does RetrievalResultStep carry retrieved content or only references, and does it appear for your retrieval setup without extra configuration? That answer decides whether these steps can be an eval source or stay a trace hint.