ncloud_export_mysql_log
Export a Cloud DB for MySQL log file (binary, error, slow, general, or audit) to Object Storage. Specify the log type, file name, and target bucket.
Instructions
Export a Cloud DB for MySQL server log file to Object Storage. Use ncloud_list_mysql_logs to get available log files.
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>",
"fileName": "<fileName>",
"bucketName": "<bucketName>"
},
"name": "ncloud_export_mysql_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logType | Yes | Log type to export: BINARY (binlog), ERROR (error log), SLOW (slow query log), GENERAL (general log), AUDIT (audit log) | |
| fileName | Yes | Log file name to export (getDbServerLogList) | |
| bucketName | Yes | Object Storage bucket name to export to | |
| folderPath | No | Folder path within the bucket (e.g. 'mysql-logs/error'). If omitted, exports to bucket root. | |
| regionCode | No | Region code (default: first region) | |
| cloudMysqlServerInstanceNo | Yes | Cloud MySQL server instance number |