tree_taxon_annotations
Read what a NeXML tree file says about each of its taxa: every annotation on every OTU (an NCBI taxon, a rank, a parent taxon), one row per annotation, plus how many distinct values each property takes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"nexml": "<nexml>"
},
"name": "tree_taxon_annotations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nexml | Yes | a NeXML document (the text of a .xml tree file). | |
| _files | No | The project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name. | |
| _subject | No | The record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | annotations read | |
| properties | Yes | each annotated property with its count of distinct values | |
| annotations | Yes | one row per annotation: otu id, taxon label, property and value, in document order |