Problem
comply_test_controller uses a oneOf union schema (list_scenarios, force_creative_status, force_account_status, etc.). This is the only remaining tool that can't be registered with server.tool(name, schema.shape, handler) — same issue that was fixed for preview_creative in #2175.
Proposal
Flatten to a single object with action discriminant field, same pattern as the preview_creative fix. Mode-specific fields become optional with documentation on when they're required.
Discovered during createAdcpServer implementation (adcontextprotocol/adcp-client#541).
Problem
comply_test_controlleruses aoneOfunion schema (list_scenarios, force_creative_status, force_account_status, etc.). This is the only remaining tool that can't be registered withserver.tool(name, schema.shape, handler)— same issue that was fixed forpreview_creativein #2175.Proposal
Flatten to a single object with
actiondiscriminant field, same pattern as the preview_creative fix. Mode-specific fields become optional with documentation on when they're required.Discovered during createAdcpServer implementation (adcontextprotocol/adcp-client#541).