MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / getComplianceCreative

Function getComplianceCreative

server/src/training-agent/state.ts:221–223  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

219}
220
221export function getComplianceCreative(id: string): CreativeState | undefined {
222 return getComplianceCreatives().find(c => c.creativeId === id);
223}
224
225/**
226 * Serialize a SessionState via the SDK's `structuredSerialize` (tagged

Callers 2

handleBuildCreativeFunction · 0.85
handleReportUsageFunction · 0.85

Calls 1

getComplianceCreativesFunction · 0.85

Tested by

no test coverage detected