Skip to contents

Describes one matched ontology term returned by an OLS4 MCP tool call. Use with chat$chat_structured() to obtain validated, typed output.

Usage

TermMapping

Format

An ellmer TypeObject with fields:

input_text

The biological or medical concept extracted from the input string

term_label

The matched ontology term label

term_iri

The IRI/URI of the matched term

obo_id

The OBO-format ID, e.g. GO:0007507

ontology

Ontology short name, e.g. GO, HP, MONDO

rationale

Why this term was selected for this concept