count_records
Count records matching a category, intent, or keyword, returning the number and percentage of matches without retrieving data rows.
Instructions
Count how many records match a category, intent, and/or keyword, as a number and as a percentage of the dataset. This is the counting half of a chain: to answer 'how many refund requests did we get?', pass intent='get_refund'. Returns no rows, so it is cheap and safe for large matches.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "count_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | ||
| intent | No | ||
| keyword | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||