OptionalonActivity: (activity: Activity) => void | Promise<void>Check whether this tool requires a governance check.
Run a proposed governance check before sending a tool call to a seller.
Returns the governance result. The caller decides how to handle each status:
When conditions are returned with required_value, this method auto-applies them and re-checks, up to maxConditionsIterations.
Report the outcome of a tool execution to the governance agent. Called after the seller responds (success or failure).
OptionalsellerResponse: Record<string, unknown>Optionalerror: { code?: string; message: string }OptionalgovernanceContext: string
Get the campaign governance config. Returns undefined if not configured.