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
TheuseToolInfo hook returns metadata about the tool call that instantiated the current app. It is a convenience wrapper around useHostContext.
Wraps onhostcontextchanged
MCP Apps SDK reference
Import
Signature
Returns
Metadata about the tool call, or
undefined if not available.Usage
McpUiHostContext.toolInfo.