check_audit_fields
Validates CREATE TABLE statements include all mandatory BSG audit fields with correct types and a properly named PRIMARY KEY.
Instructions
Validates that a CREATE TABLE statement includes all mandatory BSG audit fields (Estado, UsuarioCreacion, UsuarioModificacion, FechaCreacion, FechaModificacion, RowVersion) with correct types and a properly named PRIMARY KEY.
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": "check_audit_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The CREATE TABLE SQL statement to check |