Export
exportA file of a doc, presentation or storyboard to download and attach: pdf or docx for a doc, pptx or pdf for a presentation, the frames as a zip for a storyboard (full size; zip_small to attach to a mail). To see how a presentation is drawn, read its pdf, or one slide as png with slide_id. Returns a download url that works for 15 minutes; the file is made when the url is fetched, which can take up to a minute for a presentation. An X-Missing-Pictures response header counts pictures that could not be reached and were left out.
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": {
"doc_id": "<doc_id>"
},
"name": "export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | A doc id from get_task or list_space. | |
| format | No | Leave out for the usual file of its type. | |
| slide_id | No | One slide of a presentation, as a png: an id from its slides in read_doc. |