preview_audience
MUST call load_audience_skill before using this tool. Estimates an audience's size — returns the matching row count, the subject's total universe count, and the percentage. Use during the create/edit cycle to sanity-check an expression before calling create_audience / update_audience.
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": {
"workspace_id": "<workspace_id>"
},
"name": "preview_audience"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Subject id — a root model id from `list_audience_subjects`. | |
| where | No | Predicate tree, shaped by the loaded skill. Same value you would pass to `create_audience.where`. Omit to preview just the subject's universe. | |
| resume_id | No | Set only when a previous response instructed you to. | |
| workspace_id | Yes |