MCPCompliance
Search Metrc rooms
distru-search-metrc-locationsReadSearches Metrc locations — the facility rooms Distru syncs from Metrc, with the license each belongs to.
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. |
| licenseId | string | No | Resolve via distru-search-licenses. Omit to search every license, mixing same-named rooms across facilities. |
| search | string | No | Case-insensitive substring of room name. |
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[]. | object | Always |
| items[]. | string | Always |
| items[]. | string | Always |
What the AI reads
Searches Metrc locations — the facility rooms Distru syncs from Metrc, with the license each belongs to. These are not Distru inventory locations; for those use distru-search-locations. Each row's id is the room's Metrc location ID, never a Distru ID — and is the value an assembly output's metrcLocationId expects. Sorted by room name.