RunContext<UserData> is passed to tool handler functions via the context
parameter’s ctx property. It provides access to the current
AgentSession and its user data, letting tools read and modify
session state.
The RunContext is constructed internally by AgentSession when dispatching tool
calls. You do not need to create it manually.
The AgentSession that owns this context.
Shortcut for session.userData. Returns the user data attached to the session.