@archastro/sdk
    Preparing search index...

    Interface MessageContext

    Structured context captured with a chat message and delivered to agents as data.

    interface MessageContext {
        attributes?: Record<string, unknown>;
        content?: string | null;
        title?: string | null;
        type: string;
    }
    Index

    Properties

    attributes?: Record<string, unknown>

    Scalar key-value fields describing the context, such as route, repository, or pull-request number.

    content?: string | null

    Optional context body. The model receives it as escaped XML data, not a system instruction.

    title?: string | null

    Optional human-readable label for this context block.

    type: string

    Stable context kind. Must start with a lowercase letter and contain only lowercase letters, numbers, dots, dashes, or underscores.