review_sql
Analyzes SQL queries, table schemas, migrations, and index performance to identify issues and optimize database behavior.
Instructions
Review SQL queries, table schemas, database migrations, and index performance
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_content": "<sql_content>"
},
"name": "review_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model to use (default: deepseek-chat) | |
| provider | No | AI Provider | |
| sql_content | Yes | SQL queries or DDL schema definition | |
| database_type | No | DB Engine (e.g. PostgreSQL, SQL Server, MySQL, SQLite) |