Update DataLens connection
datalens_connections_updateUpdate chosen fields of an existing DataLens connection while keeping other settings unchanged and return an acknowledgment. Use it to modify connection details without replacing the whole connection.
Instructions
Change the fields given of a connection; returns an acknowledgement.
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": {
"connection_id": "<connection_id>",
"data": "<data>"
},
"name": "datalens_connections_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The fields to change, of the connection's own kind; the others stay as they are. Its schema is not listed here: read `ConnectionUpdate` with schema_get(service="datalens", name="ConnectionUpdate"), 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). | |
| connection_id | Yes | Connection id. |