export_artifact
Export an artifact from a notebook to a file in your chosen format (PDF, CSV, JSON, etc.) by specifying the output path.
Instructions
Export an artifact to a file in the requested format.
Uses the appropriate export method based on the artifact type.
Args: notebook_id: ID of the notebook artifact_id: ID of the artifact to export output_path: Path where to save the exported file export_format: Desired format (pdf, csv, json, etc.). Leave empty for default.
Returns: Dictionary with export status
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_id": "<notebook_id>",
"artifact_id": "<artifact_id>",
"output_path": "<output_path>"
},
"name": "export_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifact_id | Yes | ||
| notebook_id | Yes | ||
| output_path | Yes | ||
| export_format | No |