@salesforce/agents
    Preparing search index...

    Function cltSpecToEphemeralInput

    • Convert a validated CLT spec to the conversation-tests/ephemeral-run body (run without saving).

      Must be called after validateCltSpec with target: 'ephemeral'. evaluationMode isn't sent: the endpoint doesn't accept it.

      Parameters

      • spec: CltTestSpec

        The validated spec.

      • Optionalagent: { agentId: string; agentVersionId: string }

        The resolved agentId and agentVersionId when the spec names a published agent (subjectName). Ignored when the spec has project. The converter doesn't read subjectName or subjectVersion; the caller resolves them to these IDs.

      Returns EphemeralConversationTestInput