Get a plant group

distru-get-plant-groupRead

Gets a single cultivation plant group (plant batch) by ID with plant counts by stage and Metrc source lineage.

Inputs

Every tool also takes the common inputs.

FieldTypeRequiredDescription
idstringYesThe ID of the plant group to retrieve. Resolve via distru-search-plant-groups.
includeBinsbooleanNoInclude the bins holding this plant group. Empty unless the company has bin inventory tracking enabled.

Output

Presence on a nested field assumes its parent exists.

FieldTypePresence
plantGroupobjectCan be null
plantGroup.idstringAlways
plantGroup.namestringAlways
plantGroup.metrcStrainNamestringCan be null
plantGroup.metrcStrainIdstringCan be null
plantGroup.plantedAtstringAlways
plantGroup.complianceTypeenum
BIOTRACKMETRCNONE
Can be null
plantGroup.isActivebooleanAlways
plantGroup.totalPlantsCountnumberCan be null
plantGroup.immaturePlantsCountnumberCan be null
plantGroup.taggedPlantsCountnumberCan be null
plantGroup.destroyedPlantsCountnumberCan be null
plantGroup.packagedPlantsCountnumberCan be null
plantGroup.harvestedPlantsCountnumberCan be null
plantGroup.coststringCan be null
plantGroup.metrcIdstringCan be null
plantGroup.metrcSourcePackageLabelstringCan be null
plantGroup.metrcSourcePlantBatchNamesstringCan be null
plantGroup.metrcSourcePlantLabelstringCan be null
plantGroup.firstRecordedAtstringAlways
plantGroup.licenseobjectAlways
plantGroup.license.idstringAlways
plantGroup.license.licenseNumberstringAlways
plantGroup.locationobjectAlways
plantGroup.location.idstringAlways
plantGroup.location.namestringAlways
plantGroup.binsobject[]Can be absent
plantGroup.bins[].idstringAlways
plantGroup.bins[].namestringAlways
What the AI reads

Gets a single cultivation plant group (plant batch) by ID with plant counts by stage and Metrc source lineage. Bins are omitted unless includeBins is set. cost is a total, null without Cost view permission. Use when the user asks about a specific known plant group after resolving the ID via distru-search-plant-groups. Do not use to browse or search plant groups; use distru-search-plant-groups. Returns null if no plant group matches the ID.