Create DataLens dashboard
datalens_dashboards_createCreate a DataLens dashboard with its workbook, name, data, and meta, returning the new dashboard ID. Use dry_run to preview the request before any write.
Instructions
Create a dashboard and return it with its id.
data needs counter, salt, settings and tabs; a tab may be empty.
entry.meta must be an object, {} when empty: without it DataLens answers
400 entry.meta: expected record, received undefined.
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": {
"entry": "<entry>"
},
"name": "datalens_dashboards_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | Yes | The new dashboard: where it lies (`workbookId`, `name`), `data` and `meta`. Its schema is not listed here: read `DashboardCreate` with schema_get(service="datalens", name="DashboardCreate"), then the definitions it refers to. | |
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). |