owa_slide_file
Create, inspect, edit, rename, revert, or delete slide documents and manage individual slides and text boxes, with all edits kept unsaved and backed up for undo.
Instructions
Look at and change the user's slide documents. list names what is there, info reads one, create makes a new one, update changes one, rename renames one, revert drops its unsaved edits (the editor's Discard, undoable here), delete moves one to the trash. content (for create/update) is the whole document JSON with an items array of slides. One slide at a time is cheaper: slides reads them with their text boxes and style; add-slide adds one (at slide, else last); update-slide changes slide slide -- an item with id edits that box (remove deletes it), one without adds a text box; delete-slide, duplicate-slide, move-slide (to to). Pixels; colors #RRGGBB or #RRGGBBAA. Nothing is lost: delete goes to the trash, create refuses a taken name, update -- like every edit -- stays UNSAVED (a * beside the name, Ctrl+Z undoes it) for the user to Save, and every change keeps a backup owa_undo puts back -- say so afterwards. Ask before changing what they did not ask about.
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": {
"action": "<action>"
},
"name": "owa_slide_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Where move-slide puts it, counting from 1 | |
| name | No | The name as it reads in the list, with no folder and no file extension. Not needed for `list`. | |
| page | No | ||
| items | No | Text boxes, for add-slide and update-slide | |
| slide | No | Which slide, counting from 1 | |
| action | Yes | What to do | |
| content | No | Required by `create` and `update` | |
| newName | No | The new name, for `rename` only |