run_secure_query
Execute read-only SELECT queries with automatic PII masking. Protects sensitive data by hiding names, emails, phones, and IDs in results.
Instructions
Execute a read-only SELECT database query. All PII values (names, emails, phones, NRIC/IDs) in the results will be automatically masked before being returned.
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_query": "<sql_query>"
},
"name": "run_secure_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql_query | Yes | The read-only SQL SELECT query to run (e.g. SELECT name, email FROM contacts LIMIT 5) |