execute
Execute INSERT, UPDATE, or DELETE queries to modify MySQL database data with parameter binding support for secure operations.
Instructions
Execute an INSERT, UPDATE, or DELETE query
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL query string (INSERT, UPDATE, DELETE) to execute. | |
| params | No | An optional array of parameters (as strings) to bind to the SQL query placeholders (e.g., ?). |