ncloud_list_mysql_logs
Lists available log files of a chosen type (BINARY, ERROR, SLOW, GENERAL, or AUDIT) for a Cloud DB for MySQL instance, so you can select filenames to export with ncloud_export_mysql_log.
Instructions
List DB server log files of one log type for a Cloud DB for MySQL server instance (use the file names with ncloud_export_mysql_log)
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": {
"cloudMysqlServerInstanceNo": "<cloudMysqlServerInstanceNo>",
"logType": "<logType>"
},
"name": "ncloud_list_mysql_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logType | Yes | Log type: BINARY (binlog), ERROR (error log), SLOW (slow query log), GENERAL (general log), AUDIT (audit log) | |
| regionCode | No | Region code (see ncloud_get_regions). Defaults to current region. | |
| cloudMysqlServerInstanceNo | Yes | Cloud MySQL server instance number (not the instance number) |