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
TheuseDeviceCapabilities hook returns the device input capabilities reported by the host. It is a convenience wrapper around useHostContext.
Wraps onhostcontextchanged
MCP Apps SDK reference
Import
Signature
Returns
Device input capabilities reported by the host:Returns an empty object
{} if the host does not report capabilities.Usage
McpUiHostContext.deviceCapabilities.