Start DataLens workbook import
datalens_workbookimports_startCreate a workbook from an export and get the import and workbook IDs. Poll the import status until it succeeds, then restore connection credentials with connections_update.
Instructions
Start making a workbook from an export; returns the ids of the import and the workbook.
The workbook exists at once and is filled as the import runs: ask
workbookimports_status_get until status is success. Its connections come
without their secrets (a notification …CONN.CHECK_CREDENTIALS says so): give each its
password or token again with connections_update.
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": {
"data": "<data>",
"title": "<title>"
},
"name": "datalens_workbookimports_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The ``data`` of ``workbookexports_result_get``: ``export``, ``hash``. | |
| title | Yes | The title of the new workbook. | |
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). | |
| description | No | The description of the new workbook. | |
| collection_id | No | The collection to make it in; the root when left out. |