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

    Class ProtocolClient

    Universal protocol client - automatically routes to the correct protocol implementation

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Call a tool on an agent using the appropriate protocol.

      Parameters

      • agent: AgentConfig

        Agent configuration

      • toolName: string

        Name of the tool/skill to call

      • args: Record<string, unknown>

        Tool arguments (includes reporting_webhook if needed - NOT removed)

      • options: CallToolOptions = {}

        Optional call-level configuration. See CallToolOptions.

      Returns Promise<unknown>