跑只读 SQL 取数
query_sqlContivo 交易员:受限只读 SQL:只允许 SELECT / WITH,拦截写语句与 DDL,行数自动截断。用于目录外的临时取数。
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_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SELECT/WITH 查询 | |
| limit | No |