# Folders

Lawmatics MCP server · 5 tools

## Tools

- [Create Folder](/integrations/lawmatics/folders/create-folder/) — Create a folder in Lawmatics for a matter or contact, optionally nested under an existing parent folder. Returns a `relationships` envelope of {id,type} pointers to the owning record (matter or contact), the parent folder, and the child folders and files it contains. Folder names must be unique within their parent folder — a duplicate name is rejected by the API. Slashes (/) in the name are replaced with colons (:).

- [Delete Folder](/integrations/lawmatics/folders/delete-folder/) — Delete a folder from Lawmatics by ID. This is irreversible.

- [Get Folder](/integrations/lawmatics/folders/get-folder/) — Fetch a single folder from Lawmatics by ID, including a `relationships` envelope of {id,type} pointers to the owning record (matter or contact), the parent folder, and the child folders and files it contains.

- [List Folders](/integrations/lawmatics/folders/list-folders/) — List folders from Lawmatics with optional pagination, filtering, and sorting. Rows carry the folder name, timestamps, and a `relationships` envelope of to-one {id,type} pointers (the owning matter/contact and the parent folder); use get-folder for the full envelope including child folders and files. To list the folders belonging to one record (a matter or contact), filter on documentable_id with that record's id. You can also filter on created_at / updated_at by date.

- [Update Folder](/integrations/lawmatics/folders/update-folder/) — Update an existing folder in Lawmatics by ID: rename it, move it under a different parent folder, or re-attach it to a different matter or contact. Returns a `relationships` envelope of {id,type} pointers to the owning record (matter or contact), the parent folder, and the child folders and files it contains. Folder names must be unique within their parent folder — a duplicate name is rejected by the API.
