query
Execute SELECT statements to retrieve data from PostgreSQL and return the resulting rows.
Instructions
执行 SELECT 查询语句,返回查询结果。用于读取数据。
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": "query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | 要执行的 SELECT SQL 查询语句 |