MCPCompliance
Search Metrc processing job types
distru-search-metrc-processing-job-typesReadSearches the Metrc processing job types of one license: the job definitions Metrc has accepted.
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 | Yes | Resolve via distru-search-licenses. |
| search | string | No | Case-insensitive substring of the name: "chew" finds "Fruit Chews", "chews" does not find "Fruit Chew". Matches are ranked by similarity to it; sortBy is ignored. |
| sortBy | object | No | Sort options. Defaults to most recently created in Metrc first; ignored when search is set. |
| sortBy. | enumASCDESC | Yes | |
| sortBy. | enumNAMEINSERTED_AT | Yes | INSERTED_AT = created in Metrc. |
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 | Always |
| items[]. | string | Always |
What the AI reads
Searches the Metrc processing job types of one license: the job definitions Metrc has accepted. Only a license with canRecordProcessingJobs (distru-search-licenses) has any; any other license returns none. Each row's id is Metrc's type ID, not a Distru ID.