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

    Type Alias PromptCapabilitiesExperimental

    Prompt capabilities supported by the Agent in session/prompt requests.

    Baseline Agent functionality requires support for text and resource_link content blocks in prompt requests.

    Other content types need one of these capabilities. Capabilities for different types of content in prompt requests.

    Indicates which content types beyond the baseline (text and resource links) the Agent can process.

    See protocol docs: Session Prompt Capabilities

    type PromptCapabilities = {
        image?: PromptImageCapabilities | null;
        audio?: PromptAudioCapabilities | null;
        embeddedContext?: PromptEmbeddedContextCapabilities | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index

    Agent supports image content blocks.

    Optional. Omitted and null are equivalent and mean the Agent does not advertise support. Supplying {} means the Agent supports image content in prompts.

    Agent supports audio content blocks.

    Optional. Omitted and null are equivalent and mean the Agent does not advertise support. Supplying {} means the Agent supports audio content in prompts.

    embeddedContext?: PromptEmbeddedContextCapabilities | null

    Agent supports embedded context in session/prompt requests.

    When enabled, the Client is allowed to include resource content blocks in prompt requests for pieces of context that are referenced in the message.

    Optional. Omitted and null are equivalent and mean the Agent does not advertise support. Supplying {} means the Agent supports embedded context in prompts.

    _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