# Update Practice Area

`lawmatics_update-practice-area` · Lawmatics MCP tool · Practice Areas

Update an existing practice area in Lawmatics by ID. The response includes a `relationships` envelope of {id,type} pointers to the matters (prospects) assigned to it.

## Input

- **practiceAreaId** `string` (required, pattern: ^\d+$) — ID of the practice area to update; a numeric string
- **name** `string` — New practice area name
- **color** `string` — New practice area display color as a CSS color value (hex, rgb, hsl, or name)
- **statuteOfLimitationsEnabled** `boolean` — Whether statute-of-limitations tracking is enabled for this practice area

## Output

- **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
- **statuteOfLimitationsEnabled** `boolean | null` (required) — Whether statute-of-limitations tracking is enabled; null when the API does not report it
- **matterCount** `number | null` (required) — Read-only count of matters currently assigned to this practice area; null when the API does not report it
- **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
- **relationships** `object` (required) — JSON:API relationship pointers to related records as {id,type} stubs. Not materialized — follow a pointer by calling that resource's own get tool (e.g. type 'prospect' -> get-matter).
  - **prospects** `array` (required) — Matter pointers (type 'prospect') assigned to this practice area; empty if none
    - **[]** `object`
      - **id** `string` (required) — ID of the referenced Lawmatics record
      - **type** `string` (required) — JSON:API record class of the reference; resolve it by calling that resource's own tool
