sql
sqlRun SQL on your data: load JSON rows or CSV (or several named tables) into SQLite and run any SELECT, including GROUP BY, JOIN, window functions and CTEs. Up to 100,000 rows. Costs $0.003 USDC per call (x402).
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": "sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | JSON array or CSV text (table name: data) | |
| query | Yes | SELECT ... | |
| tables | No | JSON object {name: rows} for several tables |