Explain a contract or official letter
explain_documentExplains a contract, official letter, tax assessment or terms-and-conditions document in plain language, clause by clause. The document can be sent as plain text, as a base64-encoded PDF, or as base64-encoded photos of its pages. Send exactly one of the three. Scans and phone photos without a text layer are read by OCR, so a photographed letter works as well as a typed one. Returns every relevant clause with the original wording, a plain language version and why it matters, plus a short summary. It explains what the document says. It does not give legal advice, does not review the document and does not recommend a course of action. Plain text takes 20 to 60 seconds, a scan or photo longer because of OCR. If it is still running when this call returns, use get_explanation with the returned analysis_id.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "explain_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | The document as a base64-encoded PDF, for a file that has no usable text layer or whose layout matters. Up to 8 MB decoded. | ||
| text | No | The full text of the document to explain. | |
| images | No | Photos or scans of the document pages, base64-encoded, in page order. JPEG, PNG, HEIC or WebP, up to 15 images and 8 MB decoded in total. | |
| language | No | Language the explanation should be written in (ISO 639-1). Defaults to English. The document itself may be in any language. |