Export to Google Docs or Sheets
notebook_export_artifactExport a completed report to a Google Doc (destination docs) or a data table to a Google Sheet (destination sheets) in the account's Drive; other types are refused. Returns the document's URL. On a timeout, check the account's Drive before retrying, or you may get two documents. POST /artifacts/export.
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": "<artifact>",
"destination": "<destination>"
},
"name": "notebook_export_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Title of the document. | |
| artifact | Yes | Artifact id, from notebook_list_artifacts or a job result. | |
| destination | Yes | docs for a report, sheets for a table. |