Count rows
count_rowsCount rows visible to the current role using structured filters, so you can verify dataset size or query results without retrieving full records.
Instructions
Counts rows visible to the current role, with the same structured filters as select_rows.
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 | ||
| schema | No | public | |
| filters | No |