ACP v2 (Preview) TypeScript SDK — EXPERIMENTAL - v2.12.1
    Preparing search index...

    Type Alias ResourceLinkExperimental

    A link to a resource that the receiver may be able to read, included in a prompt or tool call result.

    type ResourceLink = {
        name: string;
        uri: string;
        title?: string | null;
        description?: string | null;
        icons?: Icon[] | null;
        mimeType?: MediaType | null;
        size?: number | null;
        annotations?: Annotations | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    name: string

    Human-readable name shown for the linked resource, in plain text.

    uri: string

    URI associated with this resource or media payload.

    title?: string | null

    Optional plain-text display title for the resource, intended for end users.

    Omitted and null are equivalent and mean no title is provided.

    description?: string | null

    Optional human-readable description shown with the link. It describes the resource contents in plain text.

    Omitted and null are equivalent and mean no description is provided.

    icons?: Icon[] | null

    Optional set of sized icons that the Client can display in a user interface.

    Omitted and null are equivalent and mean no icons are provided.

    mimeType?: MediaType | null

    MIME type describing the encoded media payload.

    Omitted and null are equivalent and mean the MIME type is not specified.

    size?: number | null

    Optional size of the linked resource in bytes, if known.

    Omitted and null are equivalent and mean the size is not known.

    annotations?: Annotations | null

    Optional annotations that help Clients decide how to display or route this content.

    Omitted and null are equivalent and mean no annotations are provided.

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

    The _meta property is reserved by ACP to allow Clients and Agents to attach additional metadata to their interactions. Omitted and null are equivalent and mean no metadata. Implementations MUST NOT assign meaning to keys they do not recognize.

    See protocol docs: Extensibility