Get a plant

distru-get-plantRead

Gets a single cultivation plant by ID with its teardowns (oldest first; a plant can be in several, e.g. manicure then teardown) and plant group.

Inputs

Every tool also takes the common inputs.

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

Output

Presence on a nested field assumes its parent exists.

FieldTypePresence
plantobjectCan be null
plant.idstringAlways
plant.statusenum
DESTROYEDFLOWERINGHARVESTEDHARVESTINGIMMATUREPACKAGEDVEGETATIVE
Always
plant.plantedAtstringAlways
plant.floweredAtstringCan be null
plant.harvestedAtstringCan be null
plant.destroyedAtstringCan be null
plant.isMotherPlantbooleanAlways
plant.growthPhasestringCan be null
plant.wetWeightstringCan be null
plant.coststringCan be null
plant.metrcLabelstringCan be null
plant.metrcStrainNamestringCan be null
plant.metrcPlantBatchNamestringCan be null
plant.metrcStatusstringCan be null
plant.complianceTypeenum
BIOTRACKMETRCNONE
Always
plant.locationobjectAlways
plant.location.idstringAlways
plant.location.namestringAlways
plant.unitTypeobjectCan be null
plant.unitType.idstringAlways
plant.unitType.namestringAlways
plant.licenseobjectAlways
plant.license.idstringAlways
plant.license.licenseNumberstringAlways
plant.metrcStrainobjectAlways
plant.metrcStrain.idstringAlways
plant.metrcStrain.namestringAlways
plant.metrcPlantobjectCan be null
plant.metrcPlant.idstringAlways
plant.metrcPlant.statusenum
FLOWERINGINACTIVEONHOLDVEGETATIVE
Always
plant.teardownsobject[]Always
plant.teardowns[].idstringAlways
plant.teardowns[].namestringAlways
plant.teardowns[].statusenum
COMPLETEDPENDINGPREPARING
Always
plant.teardowns[].insertedAtstringCan be null
plant.plantGroupobjectCan be null
plant.plantGroup.idstringAlways
plant.plantGroup.namestringAlways
plant.plantGroup.metrcStrainNamestringCan be null
plant.plantGroup.plantedAtstringAlways
plant.plantGroup.locationobjectAlways
plant.plantGroup.location.idstringAlways
plant.plantGroup.location.namestringAlways
plant.binsobject[]Can be absent
plant.bins[].idstringAlways
plant.bins[].namestringAlways
What the AI reads

Gets a single cultivation plant by ID with its teardowns (oldest first; a plant can be in several, e.g. manicure then teardown) and plant group. Bins are omitted unless includeBins is set. harvestedAt is the last weigh time, not the harvest date. metrcPlant.status is the Metrc cache bucket (a harvested plant can still show FLOWERING); status is the Distru-tracked status. cost is a total of the plant's current stock: null without Cost view permission, and null once the plant is harvested, packaged or destroyed (the pre-harvest cost is not kept on the plant). wetWeight is in unitType. Use when the user asks about a specific known plant after resolving the ID via distru-search-plants. Do not use to browse or search plants; use distru-search-plants. Returns null if no plant matches the ID.