export
Download a specific version of a rendered artifact as an HTML, Markdown, PDF, DOCX, or XLSX file and get a temporary link to save or share it.
Instructions
Download link for one rendered file (html, md, pdf, docx, or xlsx).
Permission: export.
Arguments: artifact_id (required), version (optional; latest done version).
Returns: download_url (valid 15 minutes), file, version, sha256, self_contained, expires_in.
Example: export(artifact_id="art_example", version=1)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": {
"artifact_id": "<artifact_id>"
},
"name": "export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Done version to download. Optional; defaults to the latest done version. | |
| artifact_id | Yes | Artifact to download. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||