Stop sharing a document
unshare_documentTurn the document's share link off: the page, the PDF and the approve button stop working at once for anyone who has the link. Only when the person asks. share_document later makes a new link; the old one never comes back.
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": "<document>"
},
"name": "unshare_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | The document's id (from list_documents), or its number once sent, like INV-0007. |