# Detach Tag

`lawmatics_detach-tag` · Lawmatics MCP tool · Tags

Detach one or more tags from a matter, contact, company, or task by name. A tag name that is not attached is ignored. Provide exactly one entity ID and an array of tag names.

## Input

- **matterId** `string` — ID of the matter to detach tags from
- **contactId** `string` — ID of the contact to detach tags from
- **companyId** `string` — ID of the company to detach tags from
- **taskId** `string` — ID of the task to detach tags from
- **tags** `array` (required, min items: 1) — Tag names to detach (names, not IDs). A name that is not attached is ignored.
  - **[]** `string`

## Output

- **entityId** `string` (required) — ID of the entity the tags were detached from
- **entityType** `string` (required) — JSON:API type of the entity (e.g. prospect, contact, company, task)
- **tagIds** `array | null` (required) — IDs of the tags still attached to the entity after the operation; null when the response omits the tag linkage
  - **[]** `string`
- **success** `boolean` (required) — Always true; confirms the detach succeeded
