MCPCultivation
Search plant groups
distru-search-plant-groupsReadSearches cultivation plant groups (plant batches) — a group of immature plants tracked as one unit until tagged.
Inputs
Every tool also takes the common inputs.
| Field | Type | Required | Description |
|---|---|---|---|
| limit | integer | No | Default: 10 |
| cursor | string | No | nextCursor of the previous call; keep the other arguments unchanged. |
| ids | string[] | No | |
| licenseIds | string[] | No | Filter to plant groups under these licenses. Resolve via distru-search-licenses. |
| locationIds | string[] | No | Filter to plant groups at these locations. Resolve via distru-search-locations. |
| metrcStrainNames | string[] | No | Exact Metrc strain names. Matches any of them. |
| status | enumACTIVEANYINACTIVE | No | ACTIVE: has immature plants. INACTIVE: none left. Default ACTIVE. |
| search | string | No | Case-insensitive substring match on the plant group name, Metrc strain name, or location name. Setting it also reorders results by how closely each field resembles the term; sortBy is ignored. |
| sortBy | object | No | Sort options. Defaults to most recently updated first when omitted. Ignored when search is set. |
| sortBy. | enumASCDESC | Yes | |
| sortBy. | enumNAMEPLANTED_ATINSERTED_ATUPDATED_AT | Yes | Field to sort by. |
Output
Presence on a nested field assumes its parent exists.
| Field | Type | Presence |
|---|---|---|
| hasMore | boolean | Always |
| nextCursor | string | Can be absent |
| totalCount | integer | Can be absent |
| items | object[] | Always |
| items[]. | string | Always |
| items[]. | string | Always |
| items[]. | string | Can be null |
| items[]. | string | Always |
| items[]. | enumBIOTRACKMETRCNONE | Can be null |
| items[]. | boolean | Always |
| items[]. | number | Can be null |
| items[]. | number | Can be null |
| items[]. | object | Always |
| items[]. | string | Always |
| items[]. | string | Always |
| items[]. | object | Always |
| items[]. | string | Always |
| items[]. | string | Always |
What the AI reads
Searches cultivation plant groups (plant batches) — a group of immature plants tracked as one unit until tagged. Step 1 of the lifecycle: plant group → plants (tagged; distru-search-plants with plantGroupId) → teardown → harvests. One row per group.