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

    Function handleTestControllerRequest

    • Handle a comply_test_controller request. Exported so custom MCP wrappers can compose it with their own middleware (AsyncLocalStorage, sandbox gating, logging) without going through registerTestController.

      list_scenarios is answered from the static capability set (store method presence for plain stores, factory.scenarios for factories) and never invokes factory.createStore. Session-backed factories can therefore load real session state unconditionally.

      input.context is echoed into every response branch so correlation IDs round-trip per the comply-test-controller-response.json schema.

      Parameters

      Returns Promise<ComplyTestControllerResponse>