Delete a collection
delete_collectionDelete a collection and all its links, preserved copies, and sub-collections. Confirm first call to get loss report and token; second call uses token to finalize deletion.
Instructions
Deletes a collection. This cascades: every link inside it, every preserved copy of those pages, and every sub-collection below it are deleted too. Two-step: the first call reports how many links would be lost and returns a confirmation token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection_id | Yes | Numeric id of the collection — the "id" field returned by list_collections | |
| confirm_token | No | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |