count_records
Retrieve the total record count for a Gadget model, with support for optional filters to limit results to specific conditions.
Instructions
Return the total number of records for a Gadget model, with optional filtering.
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": {
"model": "<model>"
},
"name": "count_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model name in singular camelCase, e.g. shopifyOrder, label | |
| filter | No | Optional filter to count only matching records. Use introspect_filters to discover valid filter shapes. |