@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Interface A2AMountOptions

    Options for A2AAdapter.mount.

    interface A2AMountOptions {
        basePath?: string;
        wellKnownAtRoot?: boolean;
    }
    Index

    Properties

    basePath?: string

    URL-path prefix for the JSON-RPC endpoint. Defaults to the pathname of the agent card's url field (so url: 'https://host/a2a' mounts JSON-RPC at /a2a). Override to mount under a different path.

    wellKnownAtRoot?: boolean

    When true (default), also mounts the agent card at the origin root (/.well-known/agent-card.json) so simple discovery probes targeting the host itself find the card. Some deployments disable this when an upstream proxy owns origin-root routes — set false to mount only at {basePath}/.well-known/agent-card.json.