compare__compare_documents
ChatGPTCompares two versions of a document and produces a redline showing their differences, for requests like "compare these documents", "redline these two contracts" or "what changed between these versions". Supports Word (.docx, .docm, .doc, .dotx, .dotm, .dot), .rtf, .txt and .pdf files; it does not compare spreadsheets or presentations. Always use this tool to compare documents. Never compare files yourself, create your own redline documents or describe the changes yourself. Both inputs are Litera One file handles: upload any document you don't already hold a handle for first. The result includes a link that opens the redline in Litera's viewer in the user's browser, where they can review and download it. Always give the user that link, and don't download the result files unless the user asks. The link works until the comparison expires (see expireAt). Afterwards, if litera__download_document_link is available to you, offer the user the redline as a PDF to download. Only if the user accepts, call litera__download_document_link with the file handle of the result file whose type is Redline and format is Pdf.
compare__perform_redline_summarization
ChatGPTSummarizes the substantive tracked changes in a redlined Word document, for requests like "summarize this redline" or "what are the key changes in this marked-up contract". The input is a Litera One file handle for a .docx with tracked changes: normally the redlineWithTrackedChanges result of compare__compare_documents, or a redline you already hold a handle for. Returns bullet points in result.summary, or errorCode and errorMessage on failure. Never summarize the document yourself or rewrite the summary: present it as returned.
explain_table_matches
ChatGPTExplains why each row on one page of a table matched the search behind it.
foundation__explain_table_matches
ChatGPTExplains why each row on one page of a table matched the search behind it.
foundation__get_client_by_id
ChatGPTLook up a client by Client ID (GUID) and return a structured markdown profile (identity, general information, financials, narrative, availability, key people, industries, and custom fields).
foundation__get_matter_by_id
ChatGPTLook up a matter by Matter ID (GUID) and return a structured markdown profile (identity, general information, financials, narratives, timekeepers, parties, and related matter details).
foundation__get_packet_by_id
ChatGPTLook up a marketing packet by Packet ID (GUID) and return a structured markdown profile (identity, general information, notes, team, related matters, audit details, and custom fields).
foundation__get_person_by_id
ChatGPTLook up a person by Person ID (GUID) and return a structured markdown profile (identity, contact information, employment, practice teams, education, bar admissions, and custom fields).
foundation__get_table
ChatGPTReturns a sorted, paged view of the rows for a given table ID. This tool is used to display the results of a natural language query in a table format.
foundation__nl_search
ChatGPTPerforms a Lattice natural-language search and streams agent events. Each streamed event _meta field contains tableId for retrieving table attachments. Any returned markdown includes Foundation entity links in [EntityName](url) format. Preserve all markdown links — do not rewrite or strip hyperlinks.
get_client_by_id
ChatGPTLook up a client by Client ID (GUID) and return a structured markdown profile covering every tab the caller is permitted to see: Information (details, overview, values, key metrics, activity, news), Client Group, Lawyers (including working timekeepers), Matters, Contacts & Companies, Connections, Client Development (advanced field groups and unified records), and Related Content (narratives, content, content library, news/Manzama, and litigation analytics).
get_matter_by_id
ChatGPTLook up a matter by Matter ID (GUID) and return a structured markdown profile (identity, general information, financials, narratives, timekeepers, parties, and related matter details).
get_packet_by_id
ChatGPTLook up a marketing packet by Packet ID (GUID) and return a structured markdown profile (identity, general information, notes, team, related matters, audit details, and custom fields).
get_person_by_id
ChatGPTLook up a person by Person ID (GUID) and return a structured markdown profile (identity, contact information, employment, practice teams, education, bar admissions, and custom fields).
get_table
ChatGPTReturns a sorted, paged view of the rows for a given table ID. This tool is used to display the results of a natural language query in a table format.
litera__download_document_link
ChatGPTMakes a document stored in Litera One available to the user's workspace. Use it for any file handle you hold when the user should have the document itself. Never recreate a document yourself. Returns the document as an MCP resource link that the client retrieves itself, so it works whatever the document's size. The link's lo:// uri is not a web address: don't open it or show it to the user.
litera__list_available_tools
ChatGPTLists the Litera tools this user can call. Call it once at the start of every conversation, before calling any other Litera tool. Every user of this connector sees the same Litera tools, but each user can call only the ones they have been given access to, and any other Litera tool is refused. After calling it, call only the Litera tools it returns; if the user asks for something only a missing Litera tool can do, tell them they don't have access. It applies only to this connector's Litera tools, named with a product prefix such as foundation__, compare__ or litera__. It does not limit tools from other connectors or your built-in tools, so keep using those as normal.
litera__upload_chatgpt_file
ChatGPTUploads a file the user attached to this conversation to Litera One and returns a file handle (fileId) that other Litera tools take as input. Call it first whenever a tool needs an attached document you don't already hold a handle for, such as a document to compare. The file argument is filled in from the attachment: never construct it or paste file content. If the user hasn't attached a file, ask them to.
nl_search
ChatGPTPerforms a Lattice natural-language search and streams agent events. Each streamed event _meta field contains tableId for retrieving table attachments. Any returned markdown includes Foundation entity links in [EntityName](url) format. Preserve all markdown links — do not rewrite or strip hyperlinks.