Skip to main content
sunpeak API

Overview

Returns a function to open URLs through the host application. The host controls how the link is opened (new tab, in-app browser, etc.).

Wraps openLink

MCP Apps SDK reference

Import

Signature

OpenLinkParams

url
string
required
The URL to open.

Returns

Function to open a URL through the host application.

Usage