@maxhealth.tech/prefab / mcp / display_update
Function: display_update()
ts
function display_update(state, options?): McpDisplayResult<PrefabUpdateWire>;Defined in: mcp/display.ts:245
Return a partial state update for an existing prefab UI.
Instead of re-rendering the entire UI, this sends a state delta that the renderer merges into its reactive store. Optionally fires actions after the state is applied.
Parameters
| Parameter | Type |
|---|---|
state | Record<string, unknown> |
options? | DisplayUpdateOptions |
Returns
McpDisplayResult<PrefabUpdateWire>
MCP tool result with a $prefab update payload.