das__ChangeTransactionSwitchStatus
Enable or disable the historical transaction switch for a MySQL instance by setting its switch status; full SQL or slow SQL must be enabled first.
Instructions
[DAS] 开启/关闭历史事务开关,仅支持MySQL引擎,并且依赖开启全量SQL或者慢SQL功能
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": {
"datastore_type": "<datastore_type>",
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"switch_status": "<switch_status>"
},
"name": "das__ChangeTransactionSwitchStatus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID | |
| instance_id | Yes | 实例ID | |
| switch_status | Yes | 开关状态 | |
| datastore_type | Yes | 数据库类型。仅支持MySQL |