Recount Audience
recount_audienceRefresh the stored record_count of one saved audience from its current included/excluded segment composition. Call after adding or removing segments. For an unsaved population preview use discovery_count; for a segment snapshot use count_segment. Requires 'discovery' scope.
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": {
"audience_id": "<audience_id>"
},
"name": "recount_audience"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audience_id | Yes | The audience ID to recount |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guidance | No | Interpretation or recovery guidance for this result | |
| count_unit | No | ||
| page_count | No | Number of objects on this page, not the organization total | |
| audience_id | Yes | ||
| count_state | No | Unknown means no count; available does not guarantee freshness. Recount for a current value. | |
| next_actions | No | Suggested next calls using returned IDs and available scopes. Not executed and not user consent. | |
| record_count | Yes | Fresh audience count, or null when unavailable | |
| population_input | No | Population input used for the preview; IDs refer to their current saved definitions |