run_sql
Run read-only SELECT queries against ISP analytics data to explore churn, delinquency, retention, and other business metrics, with one statement per call and a configurable row limit.
Instructions
Executa um SELECT livre no banco (somente leitura). Veja o esquema em isp://schema.
Limites: uma instrução por chamada, sem palavras-chave de escrita, no máximo max_rows linhas.
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": "run_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| max_rows | No |