execute_sql
Run write SQL statements such as INSERT, UPDATE, DELETE, ALTER, CREATE, or DROP to modify a MySQL database; use with caution because it changes data and schema.
Instructions
Execute a write SQL statement (INSERT / UPDATE / DELETE / ALTER / CREATE / DROP, etc).
Use with caution: this modifies the database.
Args: sql: The SQL statement to execute.
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>"
},
"name": "execute_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |