Skip to main content
sunpeak API

Overview

Returns a function to notify the host that a custom app-side tool list has changed, so the host runs tools/list again. Do not call this after useRegisterTool operations. The MCP Apps dynamic registry sends the notification automatically after registerTool(), update(), enable(), disable(), and remove().

Import

Signature

Returns

() => Promise<void>
Function that sends a tools/list_changed notification to the host.

Usage