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

    Function checkGovernance

    • Call a governance agent's check_governance tool and return a typed result.

      Use this inside handlers for tools with financial commitment:

      • create_media_buy — commits budget
      • update_media_buy — modifies budget, adds packages
      • activate_signal — activates paid signals

      The result includes governanceContext which must be threaded through the media buy lifecycle (attach to the response, pass on subsequent checks).

      Parameters

      Returns Promise<GovernanceCallResult>