Skip to content

@maxhealth.tech/prefab / renderer / ModelContextUpdate

Interface: ModelContextUpdate ​

Defined in: renderer/actions.ts:37

What the host adds to the model's context for its next turn (MCP Apps ui/update-model-context).

Properties ​

content? ​

ts
optional content?: object[];

Defined in: renderer/actions.ts:39

Text the model reads.

type ​

ts
type: "text";

text ​

ts
text: string;

structuredContent? ​

ts
optional structuredContent?: Record<string, unknown>;

Defined in: renderer/actions.ts:41

Machine-readable data for the host.

Released under the MIT License.