batch_execute
Execute a list of SQL statements sequentially in a single request to initialize or modify database schema and data.
Instructions
Execute multiple SQL statements sequentially.
Args: statements: List of SQL statements to execute in order
Example: batch_execute([ "CREATE TABLE users (id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(255))", "INSERT INTO users (name) VALUES ('Alice')", "INSERT INTO users (name) VALUES ('Bob')" ])
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": {
"statements": "<statements>"
},
"name": "batch_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| statements | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |