sensitive_masking_scan
Classify sensitive columns and generate masking VIEW SQL from DDL metadata for MySQL, PostgreSQL, or Doris, with a SHA-256 verifiable receipt and no row data reads.
Instructions
Metadata-only sensitive column classifier (L4/L3/L2) & deterministic masking VIEW SQL generator for MySQL/PostgreSQL/Doris DDL with SHA-256 verifiable receipt. Never reads row data.
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": {
"ddl": "<ddl>"
},
"name": "sensitive_masking_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ddl | Yes | CREATE TABLE DDL metadata text (schema-only, no sample row values). | |
| dialect | No | mysql | |
| viewPrefix | No | Prefix for generated masking VIEW names (alphanumeric + underscore). | v_masked_ |