mesa_avu_from_term
Converts an OLS term and user value into a canonical iRODS AVU triple with attribute, value, and CURIE unit, without writing to iRODS.
Instructions
Pure transformation: turn an OLS term + user value into the canonical AVU triple (attribute='.<snake_case_label>', value=, unit=) without writing to iRODS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iri | No | Full IRI of the term to use. Either ``iri`` or ``curie`` must be supplied, alongside ``label`` if you want to skip the OLS lookup. | |
| curie | No | Term CURIE (e.g. 'ENVO:00000428') — used directly as the AVU unit. | |
| label | No | Term label. If omitted, mesa-mcp fetches it from OLS using ``ontology_id`` + ``iri``. | |
| value | Yes | User-supplied AVU value. Often the term label, but free-form. | |
| ontology_id | Yes | Ontology identifier (e.g. 'envo'). |