Update DataLens embed
datalens_embeds_updateReplace an existing DataLens embed with the supplied full definition and return the saved result; read it first so fields you omit are saved empty.
Instructions
Save an embed as given and return it.
The embed is replaced whole: read it with embeds_list and send back what is to stay; a
list left out is saved empty.
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": {
"embed_id": "<embed_id>",
"title": "<title>",
"embedding_secret_id": "<embedding_secret_id>",
"public_params_mode": "<public_params_mode>",
"settings": "<settings>"
},
"name": "datalens_embeds_update"
}
}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. | |
| embed_id | Yes | Embed id, from ``embeds_list``. | |
| 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. |