execute_mysql_only
Executes MySQL statements not supported by the read-only tool, using a provided DSN connection string.
Instructions
仅执行execute_mysql_readonly不支持的mysql语句,使用前读取规则或用户指定的DSN链接
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": {
"dsn": "<dsn>",
"sql": "<sql>"
},
"name": "execute_mysql_only"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dsn | Yes | MySQL数据库连接字符串,DSN格式:mysql://user:password@host:port/database | |
| sql | Yes | 要执行的SQL语句,执行失败重试2次 |