Get a document
get_documentGives every detail of one document: its status, who signs it and who gets a copy, each signer's progress (invited, viewed, signed or declined with the reason, reminders, delivery problems), how it was or will be sent (delivery, signing order, email, expiry, reminders, what recipients may download, which prepare_document changes for a draft), its fields with their ids and places, and the signed copy once complete. For a draft it also lists the text on its pages, the PDF's own included, and the lines a field can sit on, each with an id for edit_document, the text changes made so far, and, with page, that page's text and lines in full. Ids come from document_status.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The document id, from document_status or the upload_document answer. | |
| page | No | A page of a draft whose text and lines to list, with their ids. |