sunpeak APIDocumentation Index
Fetch the complete documentation index at: https://sunpeak.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
TheuseDisplayMode hook returns the current display mode of the app. It is a convenience wrapper around useHostContext.
Wraps onhostcontextchanged
MCP Apps SDK reference
Import
Signature
McpUiDisplayMode.
Returns
The current display mode. Defaults to
'inline' when unavailable.