tinplate_command_sql_guard
Agent Shell Command & SQL Query Safety Firewall API: Audit agent shell commands and Text-to-SQL queries for RCE, reverse shells, and destructive SQL. (Endpoint: POST /v1/command-sql-guard)
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": {
"input": "<input>",
"mode": "<mode>"
},
"name": "tinplate_command_sql_guard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Parameter 'mode' (e.g. "auto") | |
| input | Yes | Parameter 'input' (e.g. "SELECT id, email FROM users WHERE active = 1; DROP TABLE use") | |
| sql_policy | No | Parameter 'sql_policy' (e.g. "read_only") |