delete_slide
Delete a slide at a given index from a project. After removal, call export_html to refresh the presentation.
Instructions
Deletes a slide. No LLM call — pure file removal + reindex.
Args: project_id: Target project ID (required) slide_index: Slide position to delete (1-based).
Returns: JSON string containing project_id and the new slide_count.
After this call, call export_html(project_id=<project_id>) to refresh HTML.
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": {
"project_id": "<project_id>",
"slide_index": "<slide_index>"
},
"name": "delete_slide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| slide_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |