Agent Client Protocol - v0.28.0
    Preparing search index...

    Type Alias TextResourceContents

    Text-based resource contents.

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

    Properties

    mimeType?: string | null

    MIME type describing the encoded media payload.

    text: string

    Text payload carried by this content block.

    uri: string

    URI associated with this resource or 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