get_document_link
Get a download URL for a stored document. Default: time-limited (expires_in seconds, default 3600, max 86400) — to LOOK at what you produced before sending it on. permanent=true: a link that stays valid as long as the document exists (not guessable, downloads counted) — use THIS for links you put into mails or chats for other people (e.g. a Lab-Order Excel for the lab). Required: document_id.
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": {
"document_id": "<document_id>"
},
"name": "get_document_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| permanent | No | true = link valid as long as the document exists, for sharing with others | |
| expires_in | No | Link lifetime in seconds (default 3600, max 86400) | |
| document_id | Yes | ID of the document |