List Relationship Types (lawmatics_list-relationship-types)
List relationship types from Lawmatics with optional pagination and sorting. Rows carry name, repeatability, and a `relationships` envelope of to-one {id,type} pointers (creating user); use get-relationship-type for the full envelope including to-many custom fields.
Tool Input
pageinteger— Page number (1-based)(> 0)
sortBystring— Column to sort by(enum: "id", "created_at", "updated_at", "name")
sortOrderstring— Sort direction; ascending or descending(enum: "asc", "desc")
Tool Output
relationshipTypesarrayrequired— Relationship types on this page of results
[]object
idstringrequired— Lawmatics relationship type ID
namestringrequired— Relationship type name (e.g. Spouse, Child, Parent)
isRepeatablebooleannullrequired— Whether this relationship type can be used multiple times on a matter; null if not reported
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-relationship-type for the full envelope incl. to-many (custom fields).
1 field
createdByobjectnullrequired— Creating user pointer (type 'user'); null when unset or not reported
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 relationship types returned per page; null if not reported
totalEntriesnumbernullrequired— Total number of relationship types across all pages; null if not reported
Related Tools