This question has been asked by Teimuraz Pirashvili many years ago. I forgot about it after a while and remembered only now by accident. He probably knows the answer by now, but I still don't.


In the category of modules over a ring $R$, the module $R$ is a projective generator. This property does not determine it uniquely, even up to isomorphism, but it does when $R$ is commutative: it can be reconstructed as the ring of endotransformations of the identity functor. (For noncommutative $R$, it is still true that the category is equivalent to the category of modules over the endomorphism ring of any of its projective generators that may exist.)


Now what can be said about the structure sheaf $\mathcal O\_X$ of a scheme $X$? Can it be detected inside the category of $\mathcal O\_X$-modules without using any additional structure? Of course it is the unit of the monoidal structure, but can it be also characterized as an object in a plain category, without invoking any additional structures? Can in fact the category of $\mathcal O\_X$-modules possess other non-isomorphic monoidal structures? Can it be equivalent to the category of $\mathcal O\_Y$-modules for some other scheme $Y$? Or, say, some analytic space, or whatever?


Note that $\mathcal O\_X$ is not even a generator - the subcategory generated by it is the category of quasicoherent sheaves. (**NB** As @HeinrichD points out in the first comment, even that is wrong - this is only true locally, in the appropriate sense.) In any case, also in this category $\mathcal O\_X$ is typically not projective. So the same question arises - is it some particular kind of generator?


There are of course several reconstruction theorems but I still cannot figure out which (if any) of them provide answers to these questions.


LATER -
as pointed out by Will Sawin, I should be more clear. Rather than modifying the question (I don't quite understand how) let me try to formulate it once more:



> 
> Consider the object $\mathcal O\_X$ of the abelian category of sheaves on a scheme $X$. What are its properties formulable without the use of tensor product or any other additional structures, just as an object of this abelian category?
> 
> 
> 


For example, as Will Sawin explains in his answer, a commutative ring inside its category of modules cannot be distinguished among rank one projectives. But at least it is a projective generator with a commutative endomorphism ring (in fact it is isomorphic to that ring), which is a very restrictive property. Are there some similar properties of $\mathcal O\_X$?



Can $\mathcal O_X$ be recognized abstract-nonsensically?
As Will points out, the best you can hope for is to recognize being a line bundle. Also, I find you're a bit vague about what category of sheaves you want work in; I'm thinking about coherent sheaves, which is an appropriate analogue for finite dimensional $R$-modules. As we'll see below, I'll also want to assume my scheme is locally of finite type (over a field, or other Jacobson ring, such as $\mathbb{Z}$) **EDIT:** nfdc23 also points out I should assume reduced.


I have an answer for this is which is probably ultimately equivalent to Heinrich's but which I like better (perhaps the difference is he's thinking of quasi-coherent sheaves?). The only simple objects in the category of coherent sheaves are the skyscraper sheaves at the different closed points. Thus, we can actually reconstruct the closed points of the scheme. You can also define the support of a sheaf by which skyscrapers it has maps to, and reconstruct the Zariski topology by defining a closed set to one that appears as the support of a coherent sheaf. A coherent sheaf is a line bundle if and only if the Hom space to every skyscraper sheaf is 1-dimensional. 


**EDIT:** Why is this so? A coherent sheaf is a line bundle if and only every stalk is free of rank 1 over the local ring at each point. A module over a local ring is free of rank 1 if and only if the rank of its residue at the unique closed point and the generic point is 1. So, it's enough to check that you have residue of rank 1 at every point (including non-closed ones).


So, if you have rank 1 at all closed points, by semi-continuity, you have rank 0 or 1 at every point, and the set where you have rank 1 is closed. Thus, you must have rank 1 everywhere if the closed points are dense (if not, the structure sheaf on their closure will be a counterexample). This occurs whenever you are locally of finite type (as discussed here: <https://math.stackexchange.com/questions/615709/is-the-set-of-closed-points-of-a-k-scheme-of-finite-type-dense>). Presumably outside finite type, one can modify the construction a bit to include the non-closed points.


