Sent from the View to the Host when the app wants to trigger a file download.
Since MCP Apps run in sandboxed iframes where direct downloads are blocked,
this provides a host-mediated mechanism for file exports.
The host SHOULD show a confirmation dialog before initiating the download.
Description
Request to download a file through the host.
Sent from the View to the Host when the app wants to trigger a file download. Since MCP Apps run in sandboxed iframes where direct downloads are blocked, this provides a host-mediated mechanism for file exports. The host SHOULD show a confirmation dialog before initiating the download.
See
App.downloadFilefor the method that sends this request