Download an artifact
download_artifactResolve and download a notebook artifact's content, writing to a specified file path or returning inline. Supports slide decks in PDF or PPTX format.
Instructions
Resolve and download an artifact's content. If outputPath is provided the bytes/text are written there and the absolute path is returned. If omitted, small artifacts are returned inline (text directly, binaries as base64). Slide decks accept a format of pdf or pptx.
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": {
"notebook": "<notebook>",
"artifact": "<artifact>"
},
"name": "download_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | For slide decks only. | |
| artifact | Yes | Artifact UUID. | |
| notebook | Yes | Notebook UUID. | |
| outputPath | No | If set, write to this filesystem path on the server. |