batch_comment_columns_sql
Execute multiple COMMENT ON COLUMN statements in a single batch to add column comments. Optionally stop on error for controlled execution.
Instructions
批量执行字段注释 SQL,仅允许 COMMENT ON COLUMN 语句
参数: sql: 多条 COMMENT ON COLUMN 语句,可用分号分隔 stop_on_error: 执行阶段遇到错误是否停止
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": {
"sql": "<sql>"
},
"name": "batch_comment_columns_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| stop_on_error | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |