Remove a shared listing
unshare_deckRemove a deck listing from AnkiWeb's shared catalogue, including its ratings and reviews, after a preview confirms. The deck in your own collection stays unchanged.
Instructions
Remove one of the signed-in user's listings from AnkiWeb's public shared-deck catalogue, with its ratings and reviews. It cannot be undone. The deck in the user's collection is not touched.
Without confirm, nothing is removed: the call finds the listing and returns a preview. Show that preview to the user and get their explicit go-ahead before calling again with confirm: true.
With more than one AnkiWeb account stored, the preview names the one the listing belongs to, and the confirmed call must name it in account.
Needs an AnkiWeb session.
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": {
"listing": "<listing>"
},
"name": "unshare_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Omit unless the user names an AnkiWeb account. Which of the accounts signed in on this machine to act as; a name that is not one is refused with the list. | |
| confirm | No | true removes. Only after the user has seen the preview and agreed. | |
| listing | Yes | The listing's shared id, its ankiweb.net/shared/info/<id> link, or its exact title, as list_my_shared_decks gives them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| account | No | The account the listing belongs to, given when more than one is stored. | |
| listing | Yes |