execute
Run any SQL statement, including queries, DML, and DDL, to perform CRUD and schema changes on PostgreSQL databases.
Instructions
执行任意 SQL 语句(查询、DML 或 DDL)。这是一个通用工具,可以执行任何 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": {
"sql": "<sql>"
},
"name": "execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | 要执行的 SQL 语句 |