List Stages (lawmatics_list-stages)
List pipeline stages from Lawmatics with optional pagination, filtering, and sorting. Rows carry stage attributes and a `relationships` envelope with a to-one {id,type} pointer to the parent pipeline; use get-stage for the full record including the prospects in each stage.
Tool Input
pageinteger— Page number (1-based)(> 0)
filterobject— Optional single-field filter; one filter at a time
fieldstringrequired— Field to filter on; only 'pipelineId' is filterable(enum: "pipelineId")
operatorstring— Comparison operator; defaults to '=' (pipelineId is a numeric id — 'ilike' is rejected by the API)(enum: "=", "!=", "<", "<=", ">", ">=", "like", "ilike", "null", "not_null", default: "=")
valuestringrequired— Value to compare against (ignored for null / not_null operators)
sortBystring— Column to sort by(enum: "id", "created_at", "updated_at", "name", "color")
sortOrderstring— Sort direction; ascending or descending(enum: "asc", "desc")
Tool Output
stagesarrayrequired— Stages on this page of results. Rows carry stage attributes and a to-one pipeline relationship pointer; use get-stage for the full record incl. prospects
[]object
idstringrequired— Lawmatics stage ID
namestringrequired— Stage name
colorstringnullrequired— Stage display color as a hex string (e.g. '#757F8F'); null if unset
ordernumbernullrequired— Position of the stage within its pipeline; null if unset
createdAtstringnullrequired— When the stage was created, as an ISO 8601 timestamp; null if unset
updatedAtstringnullrequired— When the stage was last updated, as an ISO 8601 timestamp; null if unset
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 the to-one pipeline pointer only; use get-stage for the full envelope incl. to-many prospects.
1 field
pipelineobjectnullrequired— Parent pipeline pointer; null when unset
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 stages returned per page; null if not reported
totalEntriesnumbernullrequired— Total number of stages across all pages; null if not reported
Related Tools