delete_slide
Deletes a presentation slide by 1-based number, excludes global headmatter, and blocks removing the last slide. Set dry_run=true to preview the slides.md diff before writing.
Instructions
Delete a slide from the current presentation by its 1-based slide number. The global headmatter is not counted. Cannot delete the last remaining slide. Set dry_run=true to preview the slides.md diff without writing.
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": {
"slide_number": "<slide_number>"
},
"name": "delete_slide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview the change without writing slides.md. Returns dryRun, wouldWrite, and diff. | |
| slide_number | Yes |