Create DataLens embed
datalens_embeds_createCreate an embed for a DataLens entry using a workbook embedding key and return it. Configure signed, unsigned, and public parameters plus export settings; a dry run shows the request without writing.
Instructions
Embed an entry and return the embed.
The key for embedding is one of the workbook the entry lies in (embeddingsecrets_list).
Grants access: a client that honours the mark asks a person on every call.
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": {
"title": "<title>",
"embedding_secret_id": "<embedding_secret_id>",
"entry_id": "<entry_id>",
"public_params_mode": "<public_params_mode>",
"settings": "<settings>"
},
"name": "datalens_embeds_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The name of the embed. | |
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). | |
| deps_ids | No | The entries the embedded one depends on. | |
| entry_id | Yes | The entry to embed. | |
| settings | Yes | The settings of the embed; an empty object is valid. | |
| private_params | No | The parameters that go signed, inside the token. | |
| unsigned_params | No | The parameters a link may carry unsigned. | |
| public_params_mode | Yes | Whether the default mode of parameters is on. | |
| embedding_secret_id | Yes | The key for embedding that signs its links. |