alter_table
Modify existing database table schemas by executing ALTER TABLE statements to add or remove columns, rename tables, and adjust constraints.
Instructions
Modify existing table schema (add columns, rename tables, etc.)
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": {
"connectionId": "<connectionId>",
"query": "<query>"
},
"name": "alter_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ALTER TABLE statement | |
| connectionId | Yes | The ID or name of the database connection |