Interface McpContentBlockExperimental

One content block. type is "text" for every block this client reads; the union stays open for forward compatibility.

interface McpContentBlock {
    text?: string;
    type: string;
    [key: string]: unknown;
}

Indexable

  • [key: string]: unknown

Properties

Properties

text?: string
type: string