ncloud_serverless_update_log_config
Adjust log rotation for MySQL cluster log types (BIN, SLOW_QUERY, ERROR, GENERAL) by setting rotation type and file count to manage log retention.
Instructions
Change log rotation for the given log types (PATCH /mysql/v1/clusters/{clusterName}/log-config, merge-patch; the only synchronous write — returns 200 with the new settings).
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": {
"clusterName": "<clusterName>",
"rotations": "<rotations>"
},
"name": "ncloud_serverless_update_log_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rotations | Yes | logType → rotation settings (only the given types change) | |
| clusterName | Yes | Cluster name (3-30 chars, lowercase letters/digits/'-', no leading or trailing '-'; immutable after creation) |