# Get Collection

`lawmatics_get-collection` · Lawmatics MCP tool · Collections

Fetch a single Collection from Lawmatics by ID, including its custom field schema definitions.

## Input

- **collectionId** `string` (required, pattern: ^\d+$) — ID of the collection to retrieve; a numeric string

## Output

- **id** `string` (required) — Unique ID of the collection
- **name** `string` (required) — Name of the collection
- **customFields** `array` (required) — Custom field definitions that make up the schema of this collection's items
  - **[]** `object`
    - **id** `string` (required) — Unique ID of the custom field definition
    - **name** `string` (required) — Display name of the custom field
    - **fieldType** `string` (required) — Type of the field (e.g. text, currency, list, multi_picklist, string, date)
    - **visibility** `string` (required) — Visibility setting of the field as reported by Lawmatics (e.g. "default")
    - **listOptions** `array` — Selectable options; present only for list and multi_picklist field types
      - **[]** `object`
        - **id** `string` (required) — Unique ID of the list option
        - **name** `string` (required) — Display name of the selectable option
    - **createdAt** `string` (required) — When the custom field was created, as an ISO 8601 timestamp
    - **updatedAt** `string` (required) — When the custom field was last updated, as an ISO 8601 timestamp
- **createdAt** `string` (required) — When the collection was created, as an ISO 8601 timestamp
- **updatedAt** `string` (required) — When the collection was last updated, as an ISO 8601 timestamp
