das__ParseSqlLimitRules
Generates SQL throttling keywords from an original SQL statement for MySQL, MariaDB, and GaussDB(for MySQL), enabling creation of SQL rate-limiting rules.
Instructions
[DAS] 根据原始SQL生成SQL限流关键字,目前支持MySQL、MariaDB、GaussDB(for MySQL)三种引擎。
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>",
"keep_operators": "<keep_operators>",
"original_sql": "<original_sql>",
"project_id": "<project_id>",
"use_template": "<use_template>"
},
"name": "das__ParseSqlLimitRules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID | |
| instance_id | Yes | 实例ID | |
| original_sql | Yes | 原始SQL语句 | |
| use_template | Yes | 是否校验SQL语句 | |
| datastore_type | Yes | 数据库类型,目前支持MySQL、MariaDB、GaussDB(for MySQL)三种引擎。 | |
| keep_operators | Yes | 是否保留操作符 |