# Update Tag

`lawmatics_update-tag` · Lawmatics MCP tool · Tags

Update an existing tag in Lawmatics by ID.

## Input

- **tagId** `string` (required, pattern: ^\d+$) — ID of the tag to update; a numeric string
- **name** `string` — New tag name
- **description** `string` — New free-text tag description
- **color** `string` — New tag color. Any CSS-valid color (hex, rgb, hsl, or color name)

## Output

- **id** `string` (required) — Lawmatics tag ID
- **name** `string` (required) — Tag name
- **description** `string | null` (required) — Free-text tag description; null when the tag has none or the response omits it
- **color** `string | null` (required) — Tag color as a CSS color string (e.g. #554433); null when the tag has none or the response omits it
- **createdAt** `string | null` (required) — When the tag was created, as an ISO 8601 timestamp; null when the update response omits it
- **updatedAt** `string | null` (required) — When the tag was last updated, as an ISO 8601 timestamp; null when the update response omits it
