# List Practice Areas

`lawmatics_list-practice-areas` · Lawmatics MCP tool · Practice Areas

List practice areas from Lawmatics with optional pagination and sorting.

## Input

- **page** `integer` (> 0) — Page number (1-based)
- **sortBy** `string` (enum: "id", "created_at", "updated_at", "name") — Column to sort by
- **sortOrder** `string` (enum: "asc", "desc") — Sort direction; ascending or descending

## Output

- **practiceAreas** `array` (required) — Practice areas on this page of results
  - **[]** `object`
    - **id** `string` (required) — Lawmatics practice area ID
    - **name** `string` (required) — Practice area name
    - **color** `string | null` (required) — Practice area display color as a CSS color value (hex, rgb, hsl, or name); null when no color is set
    - **createdAt** `string` (required) — When the practice area was created, as an ISO 8601 timestamp
    - **updatedAt** `string` (required) — When the practice area was last updated, as an ISO 8601 timestamp
- **pagination** `object | null` (required) — Pagination metadata from the API response; null when the endpoint returns no meta envelope
  - **totalPages** `number | null` (required) — Total number of pages available; null if not reported
  - **limitPerPage** `number | null` (required) — Maximum practice areas returned per page; null if not reported
  - **totalEntries** `number | null` (required) — Total number of practice areas across all pages; null if not reported
