Skip to content

@maxhealth.tech/prefab / mcp / display_success

Function: display_success()

ts
function display_success(
   title, 
   message, 
options?): McpDisplayResult<PrefabWireFormat>;

Defined in: mcp/display.ts:336

Return a standardized success view as an MCP tool result.

Renders a success Alert with title + message, optional detail text.

Parameters

ParameterType
titlestring
messagestring
options?DisplaySuccessOptions

Returns

McpDisplayResult<PrefabWireFormat>

MCP tool result with success UI.

Released under the MIT License.