Files
The Files category of the Lawmatics MCP server exposes 3 Lawmatics tools you can call directly from Claude, ChatGPT, or any MCP client through Weave Legal. Each Files tool below is documented with its purpose and complete input and output schema, giving your firm governed, auditable access to Lawmatics files data.
Download File
Get a short-lived download LINK for a Lawmatics file (the link expires in a few minutes). Fetch the returned URL to retrieve the file's bytes — the bytes are streamed by the gateway, never returned inline. Use get-file for metadata only.
Get File
Fetch a single file's metadata from Lawmatics by ID, including a `relationships` envelope of {id,type} pointers to the owning record (documentable) and its folder / parent folder. Returns metadata only, not the file contents — use download-file to retrieve a short-lived download link for the bytes.
List Files
List file metadata from Lawmatics with optional pagination, sorting, and a single-field filter. Rows carry a `relationships` envelope of to-one {id,type} pointers (documentable owner, folder, parent folder). To list the files belonging to one record (matter, contact, company, invoice, …), filter on documentable_id with that record's id. You can also filter on created_at / updated_at by date. Returns metadata only — use download-file to retrieve a file's contents.
Related Categories