Aggregate (stats)
servicenow_get_aggregateCompute aggregate statistics (count, average, sum, min, max) on ServiceNow table records with optional grouping by fields.
Instructions
Run the Aggregate/Stats API on a table: count, avg/sum/min/max, optionally grouped.
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": "servicenow_get_aggregate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| query | No | Encoded query filter | |
| table | Yes | ||
| groupBy | No | ||
| avgFields | No | ||
| maxFields | No | ||
| minFields | No | ||
| sumFields | No |