execute_sql
Execute SQL queries on MySQL databases to manage data, run analysis, and perform database operations using natural language commands.
Instructions
在MySQL数据库上执行SQL (支持多条SQL语句,以分号分隔)
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": {
"query": "<query>"
},
"name": "execute_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | 要执行的SQL语句 |