Serialize an AppContextSnapshot (or a partial delta) to the text form sent to a realtime
model via SendContextNote. The model reads this as live background context — it is the co-agent's
source of truth for where the user is, what they see, and what it can do right now, so it is
intentionally detailed (location + on-screen state + the surface's published state + the navigable
apps/sections + the callable tool signatures + delegation targets). Returns '' when nothing salient.
Only includes sections that are present, so a delta snapshot (e.g. just View + Capabilities)
produces a focused note rather than a full re-statement.
Serialize an AppContextSnapshot (or a partial delta) to the text form sent to a realtime model via
SendContextNote. The model reads this as live background context — it is the co-agent's source of truth for where the user is, what they see, and what it can do right now, so it is intentionally detailed (location + on-screen state + the surface's published state + the navigable apps/sections + the callable tool signatures + delegation targets). Returns '' when nothing salient.Only includes sections that are present, so a delta snapshot (e.g. just
View+Capabilities) produces a focused note rather than a full re-statement.