View document
view_documentGenerate a read-only embedded view link for a document or document group to display it inline or as a URL.
Instructions
Generate a read-only embedded view link for a document or document group. To find an entity by name, first call list_documents or list_templates to search for it, then pass the returned entity_id here. In MCP Apps-compatible clients the document renders inline — no tab switch needed. In other hosts, the returned view_link is presented as a clickable URL.
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": {
"entity_id": "<entity_id>"
},
"name": "view_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | ID of the document or document group to view | |
| entity_type | No | Type of entity: 'document' or 'document_group'. Skip for auto-detection (tries document_group first). | |
| link_expiration_minutes | No | Link lifetime in minutes (43200–518400). Defaults to 43200 (30 days) when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Document or document group ID | |
| view_link | Yes | Embedded view link — opens the document in a read-only viewer without requiring SignNow login | |
| entity_type | Yes | Entity type: 'document' or 'document_group' | |
| document_name | Yes | Name of the document or document group |