MCPCatalog
Search custom fields
distru-search-custom-fieldsReadSearches the custom fields of the caller's company — extra attributes it adds to an entity type, e.g. a Lab dropdown on packages.
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 | |
| search | string | No | Case-insensitive substring of name or description. Ranked by similarity. |
| entityType | enumASSEMBLYBATCHCOMPANYCONTACTINVOICEPACKAGEPRODUCTPURCHASE_ORDERRETURNSALES_ORDERSTOCK_TRANSFERTASK | No | |
| sortBy | object | No | Default UPDATED_AT DESC. Ignored when search is set. |
| sortBy. | enumASCDESC | Yes | |
| sortBy. | enumINSERTED_ATNAMEUPDATED_AT | Yes |
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[]. | enumASSEMBLYBATCHCOMPANYCONTACTINVOICEPACKAGEPRODUCTPURCHASE_ORDERRETURNSALES_ORDERSTOCK_TRANSFERTASK | Can be null |
| items[]. | enumCHECKBOXDATEDROPDOWNTEXT | Always |
| items[]. | boolean | Always |
| items[]. | object[] | Always |
| items[]. | string | Always |
| items[]. | boolean | Always |
What the AI reads
Searches the custom fields of the caller's company — extra attributes it adds to an entity type, e.g. a Lab dropdown on packages. Use it to see a field's type and options; to change fields use distru-create-custom-field, distru-update-custom-field or distru-delete-custom-field. options is set only for DROPDOWN and CHECKBOX fields.