List Custom Contact Types (lawmatics_list-custom-contact-types)
List custom contact types from Lawmatics with optional pagination, filtering, and sorting. Rows carry a `relationships` envelope with a to-one {id,type} pointer to the owning firm; use get-custom-contact-type for the full envelope including the to-many contacts.
Tool Input
pageinteger— Page number (1-based)(> 0)
filterobject— Optional single-field filter; one filter at a time
fieldstringrequired— Field to filter on; only 'name' is filterable(enum: "name")
operatorstring— Comparison operator; defaults to case-insensitive 'ilike' for partial matches(enum: "=", "!=", "<", "<=", ">", ">=", "like", "ilike", "null", "not_null", default: "ilike")
valuestringrequired— Value to compare against (ignored for null / not_null operators)
sortBystring— Column to sort by(enum: "id", "created_at", "updated_at", "name")
sortOrderstring— Sort direction; ascending or descending(enum: "asc", "desc")
Tool Output
customContactTypesarrayrequired— Custom contact types on this page of results
[]object
idstringrequired— Lawmatics custom contact type ID
namestringrequired— Custom contact type name / label
createdAtstringrequired— When the custom contact type was created, as an ISO 8601 timestamp
updatedAtstringrequired— When the custom contact type was last updated, as an ISO 8601 timestamp
relationshipsobjectrequired— To-one JSON:API relationship pointers as {id,type} stubs. Not materialized — follow a pointer by calling that resource's own tool. List rows carry to-one pointers only; use get-custom-contact-type for the full envelope incl. to-many (contacts).
1 field
firmobjectnullrequired— Owning firm pointer; null when unreported
2 fields
idstringrequired— ID of the referenced Lawmatics record
typestringrequired— JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized
paginationobjectnullrequired— Pagination metadata from the API response; null when the endpoint returns no meta envelope
totalPagesnumbernullrequired— Total number of pages available; null if not reported
limitPerPagenumbernullrequired— Maximum custom contact types returned per page; null if not reported
totalEntriesnumbernullrequired— Total number of custom contact types across all pages; null if not reported
Related Tools