Count rows
countReturns the number of matching rows in a 1C entity set using an optional raw OData $filter, so you can verify record totals before reads or approved writes.
Instructions
Count rows in an entity set matching an optional raw OData $filter.
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": {
"connection": "<connection>",
"entitySet": "<entitySet>"
},
"name": "count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Raw OData $filter expression | |
| entitySet | Yes | Entity set, e.g. Document_РеализацияТоваровУслуг | |
| connection | Yes | Connection name |