Create a presentation
create_presentationCreate a new presentation of yours, empty or complete in one call. "slides" is a list of {"name", "name_tr", "w", "h", "bg", "fit", "background", "objects": [blocks]}; blocks may link to each other's slides with {"kind": "slide", "slide_number": N} (1-based, in this list). Returns the new presentation with the ids of its slides and blocks (every prop too with "response": "full"). Every presentation is in all the languages of the site (ru, en) at once: write the texts in "lang" and give the other languages right away -- "title_tr", "name_tr" of every slide and "tr" in the props of every text, shape and button block ({"en": ""}); the layout is shared. The answer lists what is still "missing_translations".
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": {
"title": "<title>"
},
"name": "create_presentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | The language "title", slide names and blocks' "html" are written in (default: the one most of the words of the title, the slide names and the texts are in). | |
| theme | No | Default colours of the slides and of new blocks. | |
| title | Yes | Title (at most 100 characters). | |
| access | No | Who sees it (default "private": only you, until you publish it; "public": everybody reads it; "open": every signed-in person edits it too). | |
| slides | No | Slides with their blocks (optional). | |
| project | No | Slug of one of your projects to create the presentation in (at its end); its blocks may then lead to the slides of the other presentations of that project. | |
| database | No | Setup scripts of the databases the runnable code blocks work in, by language. Every viewer runs the blocks in a private database made from the script (up to 50000 characters each; an empty string removes a script). | |
| response | No | "brief" (default): only the ids, numbers and types of the slides and blocks; "full": every prop of every block too. | |
| title_tr | No | The title in the other languages of the site: {"en": "..."}. | |
| description | No | Description shown on the presentation page (optional). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | No | The address people open in a browser. | |
| lang | No | The language its texts are written in; "tr" holds the others. | |
| slug | Yes | The address of the presentation: /movie/<slug>/. | |
| owner | No | User name of the author. | |
| theme | No | ||
| title | Yes | ||
| access | No | open, public or private. | |
| slides | Yes | ||
| project | No | The project it belongs to, or null. | |
| version | No | Stamp of the content as it is now: give it back as "base_version" to change it only if nobody else did meanwhile. | |
| can_edit | No | Whether you may change it. | |
| database | No | Setup scripts of the databases of runnable code blocks (shown to the author only). | |
| title_tr | No | The same text in the other languages of the site: {"en": "..."}. | |
| languages | No | The languages of the site. | |
| cover_slide | No | Id of the slide shown as its cover in the lists (null: an uploaded picture, or no slides). | |
| description | No | ||
| database_chars | No | A part or the words only were read: how long each database script is (the whole presentation without "texts_only" gives them). | |
| missing_translations | No | What is not translated yet into the other languages of the site (add it): the first ones; "missing_translations_count" says how many there are. | |
| missing_translations_count | No | How many texts are not translated yet. |