The kotlinx.serialization KSerializer for the R type. Used to generate the JSON schema for the tool's results.