@runloop/remote-agents-sdk
    Preparing search index...

    Type Alias McpServerElicitationRequestParams

    McpServerElicitationRequestParams: {
        serverName: string;
        threadId: string;
        turnId: string | null;
    } & (
        | {
            _meta: JsonValue
            | null;
            message: string;
            mode: "form";
            requestedSchema: McpElicitationSchema;
        }
        | {
            _meta: JsonValue
            | null;
            message: string;
            mode: "openai/form";
            requestedSchema: JsonValue;
        }
        | {
            _meta: JsonValue
            | null;
            elicitationId: string;
            message: string;
            mode: "url";
            url: string;
        }
    )

    Type Declaration

    • serverName: string
    • threadId: string
    • turnId: string | null

      Active Codex turn when this elicitation was observed, if app-server could correlate one.

      This is nullable because MCP models elicitation as a standalone server-to-client request identified by the MCP server request id. It may be triggered during a turn, but turn context is app-server correlation rather than part of the protocol identity of the elicitation itself.

    • {
          _meta: JsonValue | null;
          message: string;
          mode: "form";
          requestedSchema: McpElicitationSchema;
      }
    • {
          _meta: JsonValue | null;
          message: string;
          mode: "openai/form";
          requestedSchema: JsonValue;
      }
    • {
          _meta: JsonValue | null;
          elicitationId: string;
          message: string;
          mode: "url";
          url: string;
      }