mysql_execute
Executes MySQL INSERT, UPDATE, or DELETE statements against a selected environment and returns the number of affected rows.
Instructions
执行 MySQL 更新/删除/插入语句,返回受影响行数。可用环境: default(默认: default)
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": "mysql_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | 要执行的 SQL 语句(UPDATE/DELETE/INSERT) | |
| environment | No | 目标环境名。可用环境: default(默认: default)。未传时使用默认环境 |