Create a Slaide document
create_documentUse this when the user wants a NEW presentation, document or Excel workbook built from a brief, notes or attached files ("make me a deck about X", "turn this report into slides"). Slaide designs it, writes it, can research facts on the web and applies the user's saved brand kit if they have one — you do not need to supply layout, design or slide text, and you should not paste a slide-by-slide outline unless the user gave you one. Put the source material the user gave for THIS document (notes, figures, tables) into provided_content instead of summarising it; do not send the rest of the conversation. If the document must contain figures or facts only the user has (their own results, numbers, names) and you do not have them, ask for them first — never invent them. When the user attached files to the chat, pass them as files: Slaide reads the originals. The run uses the same account limits as in Slaide. It returns IMMEDIATELY with a job_id — building takes minutes and continues in the background. When the chat shows the user a live progress card for the job, the card follows the job by itself: tell the user in a sentence or two that Slaide is building the document, then stop — do not poll. Without such a card, poll get_job after poll_after_ms and keep the user informed. Never call this tool again while a job is running. Do NOT use it to change an EXISTING document (use update_document) or when the user only wants advice or an answer.
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": {
"instruction": "<instruction>"
},
"name": "create_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Files the user attached to this chat (PDF, Word, Excel, PowerPoint, images, text or CSV; up to 3). Filled in from the user's attachments — never invent entries. Prefer this over retyping a file into `provided_content`; only when an attachment comes without a `download_url`, put its text into `provided_content` instead. | |
| title | No | Title under which the document appears in the user's Slaide library. Omit if the user gave none. | |
| language | No | Language the document is written in, as a name such as 'German'. Omit if the user did not ask for one. | |
| instruction | Yes | What to build, in the user's own words. Include audience, purpose and tone if known. | |
| source_urls | No | Public URLs Slaide should research before writing. | |
| target_pages | No | Approximate number of pages or slides the user wants. Omit if they did not ask for a length. | |
| document_type | No | Kind of document to build: slides, a text document or an Excel workbook. Omit to let the instruction decide. | |
| idempotency_key | No | Reuse the same key if you retry after a lost response, so no second document is created. Without a key, the same request repeated within 24 hours returns the earlier job (marked `deduplicated`); pass a new key only if the user deliberately wants another copy. | |
| provided_content | No | Source material the user gave for this document: notes, figures, tables. Not the conversation itself. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Present only when there is something to tell the user about this build; pass it on in your own words. | |
| job_id | Yes | Handle of the background job. Pass it to get_job or cancel_job. | |
| status | Yes | State of the job when this response was sent: queued, running, completed, partial, failed or cancelled. | |
| app_url | Yes | Link that opens the document in the Slaide web app. Share it with the user. | |
| attachments | No | Present only when `files` were passed: what Slaide read, one entry per file. | |
| document_id | Yes | The document the job works on. Opaque id of the document. Pass it to get_document, update_document or export_document. | |
| deduplicated | No | True when this request matched an earlier one and that earlier job is returned instead of a new one. | |
| poll_after_ms | Yes | Milliseconds to wait before the first get_job call. |