transpile_sql
Convert SQL statements between different dialects. Enter your SQL, specify source and target dialects, and receive the transpiled query.
Instructions
Transpile SQL statement to another dialect
Args:
sql: SQL statement to transpile
read_dialect: SQL dialect to read from
write_dialect: SQL dialect to write to
Returns:
transpiled SQL or syntax error
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>",
"read_dialect": "<read_dialect>",
"write_dialect": "<write_dialect>"
},
"name": "transpile_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| read_dialect | Yes | ||
| write_dialect | Yes |