Aggregate
aggregateCount rows in an agent-related table grouped by one or two columns to answer "how many per..." questions without returning rows. Apply filters to focus results on specific metadata.
Instructions
Count rows of an agent related table, grouped by one or two columns.
by: one or two comma separated columns, e.g. "componenttype", "_ownerid_value",
"authenticationmode,accesscontrolpolicy". filter: same syntax as query.
Answers "how many per ..." questions without returning the rows. Groups carry the English
meaning of coded values when the model knows it, else the label Dataverse returned.
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>",
"by": "<by>"
},
"name": "aggregate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| top | No | ||
| table | Yes | ||
| filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |