GenOffice pptx delete elements
genoffice_pptx_deleteDelete specified text or shape elements from a PPTX slide, preserving the original file and other slide bytes; writes a new output file.
Instructions
Delete one or more text/shape elements from a slide of a .pptx using the GenOffice engine (element-level byte-preserving: the edited slide is rebuilt, every other slide and zip part keeps its original bytes). Elements are matched by name or id from genoffice_pptx_slides. Writes a NEW file.
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": {
"path": "<path>",
"slide": "<slide>",
"elements": "<elements>"
},
"name": "genoffice_pptx_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the source .pptx (never modified) | |
| slide | Yes | Slide number (1-based) | |
| outPath | No | Absolute output path; defaults to <dir>/<name>.deleted.pptx | |
| elements | Yes | Element names or ids to delete (from genoffice_pptx_slides) |