LooseContentBlock

interface LooseContentBlock : ContentBlockBase, ReadonlyRecord<JsString, JsAny?> (source)

Looser content block shape accepted by many MCP tool implementations.

This keeps tool return typing practical while preserving strict content unions via {@link ContentBlock} for consumers that want discriminated checks.

Functions

Link copied to clipboard
open operator external fun get(key: JsString): JsAny?