# delete_slideshow

> Delete a slideshow with Wavegrain's MCP server: the delete_slideshow tool needs the write permission. Inputs, outputs and an example call.

> Index of these docs: https://wavegrain.com/developers/llms.txt

**Delete a slideshow.** Permission: `write`. Changes or removes saved work.

Delete a slideshow from the user's account, in two calls: the first returns what goes and a confirmToken and deletes nothing; only after the user says yes, call again with confirm: true and the token. Unsent posts are cancelled. No tool undoes a delete.

## Inputs

| Input | Type | Required | Notes |
| --- | --- | --- | --- |
| `slideshowId` | string | yes | A slideshow id from list_slideshows or a make tool. up to 200 characters |
| `confirm` | boolean | no | Only after the user said yes to the first call's summary: true, with its confirmToken. default false |
| `confirmToken` | string | no | The confirmToken of the first call's answer. up to 500 characters |

The fields inside an object or a list are in the JSON Schema at [/developers/mcp-tools.json](/developers/mcp-tools.json).

## Returns

| Field | Type | Notes |
| --- | --- | --- |
| `slideshowId` | string | The slideshow. |
| `title` | string | Its title or topic. |
| `slides` | number | How many slides it has. |
| `scheduledFor` | string \| null | Its planned posting time; null when not scheduled. |
| `approved` | boolean | True when it is approved. |
| `deleted` | boolean | False on the first call, which only shows what would go; true once deleted. |
| `confirmToken` | string \| null | Send it back with confirm after the user agrees; null once deleted. |
| `note` | string | What to tell the user. |

## Example call

Send it to `POST https://wavegrain.com/api/mcp` with an access key that has the `write` permission; [Authentication](/developers/authentication) shows how to make one.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_slideshow",
    "arguments": {
      "slideshowId": "<slideshowId>"
    }
  }
}
```

The call shows only the required inputs, with placeholder values: put your own in.

## Related tools

- [`propose_group_change`](/developers/mcp-tools/propose_group_change): Propose a group change
- [`save_format`](/developers/mcp-tools/save_format): Save a slideshow format
- [`rename_slideshow`](/developers/mcp-tools/rename_slideshow): Rename a slideshow
- [`update_collection`](/developers/mcp-tools/update_collection): Rename a collection
- [`delete_collection`](/developers/mcp-tools/delete_collection): Delete a collection
- [`edit_collection_images`](/developers/mcp-tools/edit_collection_images): Remove or move collection images
- [All 79 tools](/developers/mcp-tools)
