ACP v2 TypeScript SDK — EXPERIMENTAL DRAFT - v1.3.0
    Preparing search index...

    Type Alias TextResourceContentsExperimental

    Text-based resource contents.

    type TextResourceContents = {
        text: string;
        uri: string;
        mimeType?: MediaType | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    text: string

    Text payload carried by this content block.

    uri: string

    URI associated with this resource or media payload.

    mimeType?: MediaType | null

    MIME type describing the encoded media payload.

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow clients and agents to attach additional metadata to their interactions. Implementations MUST NOT make assumptions about values at these keys.

    See protocol docs: Extensibility