views/<name>/view.tsx; the bound tool declares view: { name } and an outputSchema.
views/product/view.tsx reads the request lifecycle and typed result with useToolContext():
useHostContext, useCallTool, useViewState, useDisplayMode, and useSendFollowUp when the view needs host data or actions. See Build views, Interactivity, and Content security policy.