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

    Type Alias ServerRequest

    ServerRequest:
        | {
            id: RequestId;
            method: "item/commandExecution/requestApproval";
            params: CommandExecutionRequestApprovalParams;
        }
        | {
            id: RequestId;
            method: "item/fileChange/requestApproval";
            params: FileChangeRequestApprovalParams;
        }
        | {
            id: RequestId;
            method: "item/tool/requestUserInput";
            params: ToolRequestUserInputParams;
        }
        | {
            id: RequestId;
            method: "mcpServer/elicitation/request";
            params: McpServerElicitationRequestParams;
        }
        | {
            id: RequestId;
            method: "item/permissions/requestApproval";
            params: PermissionsRequestApprovalParams;
        }
        | {
            id: RequestId;
            method: "item/tool/call";
            params: DynamicToolCallParams;
        }
        | {
            id: RequestId;
            method: "account/chatgptAuthTokens/refresh";
            params: ChatgptAuthTokensRefreshParams;
        }
        | {
            id: RequestId;
            method: "attestation/generate";
            params: AttestationGenerateParams;
        }
        | {
            id: RequestId;
            method: "applyPatchApproval";
            params: ApplyPatchApprovalParams;
        }
        | {
            id: RequestId;
            method: "execCommandApproval";
            params: ExecCommandApprovalParams;
        }

    Request initiated from the server and sent to the client.