audiences_update
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Update an owned custom visitor audience, preserving omitted fields. Existing campaign audience snapshots are not refreshed automatically.
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": {
"siteId": "<siteId>"
},
"name": "audiences_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| rules | No | Saved audience rules. Match all/any conditions across channel, event_name, UTMs, device, visitor_type, country, region, hostname, browser_language, viewport, query_parameter, url, or referrer. Event-triggered conditions can include eventLookbackDays: 7, 14, 30, or 90. | |
| siteId | Yes | ||
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| audienceId | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | ||
| scope | Yes | ||
| auditId | No | ||
| command | Yes |