Document Unshare
document_unshareRemove a single document's share link from a campaign without deleting the asset. Check campaign_document_list first to ensure it has an explicit link.
Instructions
Remove one document share link from the configured campaign (DM only). Inspect campaign_document_list first: shared=false denotes a native document with no separate link to revoke. Use document_delete only to delete the asset everywhere. This leaves the asset, other links, local downloads, and GLOBAL/native read access intact. Repeating removes no additional link but may return a not-found error. Returns {ok:true,data} on success; tool-body failures return {ok:false,error} with optional diagnostic data. Argument-schema errors are MCP errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | Document asset ID with an explicit share link in this campaign; native documents cannot be unshared this way. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||