Get Species Classification
gbif_get_species_classificationReturn the parent chain for a taxon — from kingdom (or domain) down to the immediate parent of the queried taxon — as an ordered array. Each entry has its rank, canonical name, taxon usage key, checklist, and backbone mapping. The array is returned root-first (kingdom → phylum → class → … → immediate parent of the queried taxon); the queried taxon itself is not included — call gbif_get_species for its own record. The chain is read in the queried taxon's own checklist: datasetKey names it, each key is a taxon usage key there, and nubKey is the mapped backbone key the occurrence tools take, absent where the backbone has no mapping. Useful for building taxonomic trees or understanding placement without walking the checklist level by level.
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": {
"taxonKey": "<taxonKey>"
},
"name": "gbif_get_species_classification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taxonKey | Yes | GBIF taxon key: a backbone key from gbif_match_species, or a taxon usage key of any checklist, such as key from gbif_search_species. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Guidance when the chain is empty because the taxon sits at the root of its checklist. Absent when the chain has entries. | |
| classification | No | Classification chain ordered from root (kingdom) to the immediate parent of the queried taxon. The queried taxon itself is not included — call gbif_get_species for its own record. |