sql_query
Run read-only SQL queries (SELECT/WITH) on SQLite or DataFrames to retrieve data and support AI-driven insights.
Instructions
只读 SQL 查询(仅 SELECT/WITH),在 SQLite 或 DataFrame 上执行。
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": "sql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| format | No | markdown | |
| source | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |