revoke_shared_doc
Revoke access to a shared document immediately. The link stops working but the record remains searchable; content is purged immediately on Gist or after a 7-day grace period on self-hosted.
Instructions
Revoke a shared doc: the link stops working but the record stays searchable. Gist backend: the gist is deleted immediately and irreversibly. Selfhost backend: revoked with a 7-day grace before content is purged. To erase the record entirely, use delete_shared_doc.
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": {
"doc_id_or_url": "<doc_id_or_url>"
},
"name": "revoke_shared_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updated_user | No | ||
| doc_id_or_url | Yes |