Combine the cooked mushrooms, onions, walnuts, rice, tamari, and tomato paste in the food processor and pulse ingredients until the texture is consistent and becomes a paste with small lumps. Taste the mixture and add more salt and pepper if needed. It should taste very flavorful and be seasoned well.