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
Usage
McpUiHostContext.toolInfo.