count_rows
Count rows in a Turso table, using an optional WHERE condition to filter records. Get the exact number of matching entries for reporting, validation, or debugging.
Instructions
Conta o número de registros em uma tabela
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": {
"table": "<table>"
},
"name": "count_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Nome da tabela | |
| where | No | Condição WHERE opcional (ex: 'status = active') |