Create DataLens key for embedding
datalens_embeddingsecrets_createCreate an embedding secret key for a DataLens workbook and return its id and one-time private key; hand off or store the key immediately because later get and list calls omit it.
Instructions
Make a key for embedding and return its id and its private key.
The private key is given once: embeddingsecrets_get and embeddingsecrets_list do not
return it. It comes in this tool's result, so it enters your context: hand it to the person
at once, and do not repeat it in later messages.
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>",
"workbook_id": "<workbook_id>"
},
"name": "datalens_embeddingsecrets_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The name of the key. | |
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). | |
| workbook_id | Yes | The workbook the key belongs to. |