⚠️ SCHEMA CHANGE: Import schema from SQL or JSON. Creates tables, indexes, views, triggers. Fails if objects exist without IF NOT EXISTS.
import_schemaImport database schema from SQL or JSON to create tables, indexes, views, and triggers, with automatic failure if objects exist without IF NOT EXISTS.
Instructions
⚠️ SCHEMA CHANGE: Import schema from SQL or JSON. Creates tables, indexes, views, triggers. Fails if objects exist without IF NOT EXISTS.
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": {
"schema": "<schema>"
},
"name": "import_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | sql | |
| schema | Yes | ||
| database_name | No |