# document.delete_slides

Delete the slides at the given indices. Refuses if

Agent View of the PolicyLayer registry record for `document.delete_slides`. HTML page: https://policylayer.com/tools/lingsu-slides/document.delete-slides

## Facts

- Tool: `document.delete_slides`
- Server: Lingsu Slides (`kekegg/lingsu-slides`) — https://policylayer.com/tools/lingsu-slides.md
- Homepage: https://github.com/kekegg/lingsu-slides
- Risk category: Destructive (Critical risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Hidden

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "document.delete_slides",
    "arguments": {}
  }
}
```

## Why document.delete_slides is rated Critical

An AI agent that decides to call document.delete_slides doesn't hesitate, doesn't double-check, and doesn't stop at one. Whatever it removes from Lingsu Slides is gone. There is no undo for destructive operations.

## Use case

AI agents call document.delete_slides to permanently remove resources in Lingsu Slides, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

## Recommended policy (PolicyLayer)

Verdict: **Hidden**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Lingsu Slides:

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "document.delete_slides"
  ]
}
```

## Other tools on Lingsu Slides (45)

- `app.new_document` — Destructive — https://policylayer.com/tools/lingsu-slides/app.new-document.md
- `document.cut` — Destructive — https://policylayer.com/tools/lingsu-slides/document.cut.md
- `document.remove_shape` — Destructive — https://policylayer.com/tools/lingsu-slides/document.remove-shape.md
- `document.remove_slide` — Destructive — https://policylayer.com/tools/lingsu-slides/document.remove-slide.md
- `document.set_slide_notes` — Destructive — https://policylayer.com/tools/lingsu-slides/document.set-slide-notes.md
- `document.set_slide_transition` — Destructive — https://policylayer.com/tools/lingsu-slides/document.set-slide-transition.md
- `document.ungroup` — Destructive — https://policylayer.com/tools/lingsu-slides/document.ungroup.md
- `script.run` — Execute — https://policylayer.com/tools/lingsu-slides/script.run.md
- `app.export_all_png` — Other — https://policylayer.com/tools/lingsu-slides/app.export-all-png.md
- `app.export_json` — Other — https://policylayer.com/tools/lingsu-slides/app.export-json.md
- `app.export_png` — Other — https://policylayer.com/tools/lingsu-slides/app.export-png.md
- `app.open_document` — Other — https://policylayer.com/tools/lingsu-slides/app.open-document.md
- `app.quit` — Other — https://policylayer.com/tools/lingsu-slides/app.quit.md
- `clipboard.clear` — Other — https://policylayer.com/tools/lingsu-slides/clipboard.clear.md
- `clipboard.peek` — Other — https://policylayer.com/tools/lingsu-slides/clipboard.peek.md
- `document.add_slide` — Other — https://policylayer.com/tools/lingsu-slides/document.add-slide.md
- `document.align_shapes` — Other — https://policylayer.com/tools/lingsu-slides/document.align-shapes.md
- `document.can_undo` — Other — https://policylayer.com/tools/lingsu-slides/document.can-undo.md
- `document.copy` — Other — https://policylayer.com/tools/lingsu-slides/document.copy.md
- `document.copy_slide` — Other — https://policylayer.com/tools/lingsu-slides/document.copy-slide.md
- `document.duplicate` — Other — https://policylayer.com/tools/lingsu-slides/document.duplicate.md
- `document.duplicate_slide` — Other — https://policylayer.com/tools/lingsu-slides/document.duplicate-slide.md
- `document.get_shape` — Other — https://policylayer.com/tools/lingsu-slides/document.get-shape.md
- `document.get_state` — Other — https://policylayer.com/tools/lingsu-slides/document.get-state.md
- `document.group_shapes` — Other — https://policylayer.com/tools/lingsu-slides/document.group-shapes.md
- `document.move_shape` — Other — https://policylayer.com/tools/lingsu-slides/document.move-shape.md
- `document.paste` — Other — https://policylayer.com/tools/lingsu-slides/document.paste.md
- `document.paste_slide` — Other — https://policylayer.com/tools/lingsu-slides/document.paste-slide.md
- `document.redo` — Other — https://policylayer.com/tools/lingsu-slides/document.redo.md
- `document.reorder_shapes` — Other — https://policylayer.com/tools/lingsu-slides/document.reorder-shapes.md
- …and 15 more: https://policylayer.com/tools/lingsu-slides.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=lingsu-slides · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/lingsu-slides
